Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# Oscl_FileServer Class Reference
[OSCL IO]

`#include <oscl_file_server.h>`

## Public Methods
OSCL_IMPORT_REF | Oscl_FileServer ()
OSCL_IMPORT_REF | ~Oscl_FileServer ()
OSCL_IMPORT_REF int32 | Connect (bool aShareSession=false)
OSCL_IMPORT_REF int32 | Close ()
OSCL_IMPORT_REF int32 | Oscl_DeleteFile (const char *filename)
OSCL_IMPORT_REF int32 | Oscl_DeleteFile (const oscl_wchar *filename)
## Friends
class | Oscl_File
class | OsclNativeFile

## Constructor & Destructor Documentation

OSCL_IMPORT_REF Oscl_FileServer::Oscl_FileServer | ( |  | ) |

| Constructor

OSCL_IMPORT_REF Oscl_FileServer::~Oscl_FileServer | ( |  | ) |

| Destructor

## Member Function Documentation

OSCL_IMPORT_REF int32 Oscl_FileServer::Close | ( |  | ) |

| Closes a file server. Returns: returns 0 on success and a non-zero value otherwise

OSCL_IMPORT_REF int32 Oscl_FileServer::Connect | ( | bool | aShareSession = false | ) |

| Connects the server. This must be called before a file server can be used. Returns: returns 0 on success and a non-zero value otherwise

OSCL_IMPORT_REF int32 Oscl_FileServer::Oscl_DeleteFile | ( | const oscl_wchar * | filename | ) |

  | Deletes a file from the filesystem Parameters:
  filename | name of the file to delete (Unicode)
Returns: returns 0 if successful, and a non-zero value otherwise.

OSCL_IMPORT_REF int32 Oscl_FileServer::Oscl_DeleteFile | ( | const char * | filename | ) |

  | Deletes a file from the filesystem * Parameters:
  filename | name of the file to delete (Utf8)
Returns: returns 0 if successful, and a non-zero value otherwise.

## Friends And Related Function Documentation

friend class Oscl_File`[friend]`

friend class OsclNativeFile`[friend]`

The documentation for this class was generated from the following file:

- oscl_file_server.h