|
class | aux::PluginRefCounter< FtpStorageFactory > |
|
◆ addRef()
int nx_spl::FtpStorageFactory::addRef |
( |
| ) |
const |
|
overridevirtual |
Increment reference counter.
- Returns
- new reference count
- Note
- PluginInterface::releaseRef is not guaranteed to be called from thread that called PluginInterface::addRef
Implements nxpl::PluginInterface.
◆ createStorage()
Storage *STORAGE_METHOD_CALL nx_spl::FtpStorageFactory::createStorage |
( |
const char * |
url, |
|
|
int * |
ecode |
|
) |
| |
|
overridevirtual |
- Parameters
-
url | Storage root URL. This should be NULL terminated utf8 encoded C string. |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
- Returns
- pointer to Storage.
Implements nx_spl::StorageFactory.
◆ findAvailable()
const char **STORAGE_METHOD_CALL nx_spl::FtpStorageFactory::findAvailable |
( |
| ) |
const |
|
overridevirtual |
◆ lastErrorMessage()
const char * nx_spl::FtpStorageFactory::lastErrorMessage |
( |
int |
ecode | ) |
const |
|
overridevirtual |
◆ queryInterface()
void * nx_spl::FtpStorageFactory::queryInterface |
( |
const nxpl::NX_GUID & |
interfaceID | ) |
|
|
overridevirtual |
Cast to type, specified by interfaceID.
If pointer cannot be cast, NULL MUST be returned
- Returns
- If not NULL, returned pointer can be safely cast to type, defined by interfaceID
- Note
- This method increments reference counter
Implements nxpl::PluginInterface.
◆ releaseRef()
int nx_spl::FtpStorageFactory::releaseRef |
( |
| ) |
const |
|
overridevirtual |
Decrement reference counter.
When zero, object MUST be removed
- Returns
- new reference count
- Note
- PluginInterface::releaseRef is not guaranteed to be called from thread that called PluginInterface::addRef
Implements nxpl::PluginInterface.
◆ storageType()
const char *STORAGE_METHOD_CALL nx_spl::FtpStorageFactory::storageType |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- samples/ftp_storage_plugin/src/ftp_library.h
- samples/ftp_storage_plugin/src/ftp_library.cpp