VMime
|
Public Member Functions | |
virtual | ~handler () |
virtual unsigned long | getUnixTime () const =0 |
virtual const datetime | getCurrentLocalTime () const =0 |
virtual const string | getHostName () const =0 |
virtual unsigned int | getProcessId () const =0 |
virtual unsigned int | getThreadId () const =0 |
virtual const charset | getLocalCharset () const =0 |
virtual shared_ptr < net::socketFactory > | getSocketFactory ()=0 |
virtual shared_ptr < utility::fileSystemFactory > | getFileSystemFactory ()=0 |
virtual shared_ptr < utility::childProcessFactory > | getChildProcessFactory ()=0 |
virtual void | generateRandomBytes (unsigned char *buffer, const unsigned int count)=0 |
virtual shared_ptr < utility::sync::criticalSection > | createCriticalSection ()=0 |
Additional Inherited Members | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Takes care of all platform-dependent operations.
It offers an interface to access platform-dependent objects: sockets, date/time, file system, etc.
|
virtual |
|
pure virtual |
Creates and initializes a critical section.
|
pure virtual |
Fills a buffer with cryptographically random bytes.
buffer | buffer to fill in with random bytes |
count | number of random bytes to write in buffer |
|
pure virtual |
Return a pointer to a factory that creates child process objects, which are used to spawn processes (run executable files).
|
pure virtual |
Return the current date and time, in the local time zone.
|
pure virtual |
Return a pointer to a factory that creates file-system objects.
|
pure virtual |
Return the host name of the system.
Used when generating message ids.
|
pure virtual |
Return the charset used on the system.
|
pure virtual |
Return the current process identifier.
Used when generating random strings (part boundaries or message ids).
|
pure virtual |
Return a pointer to the default socket factory for this platform.
|
pure virtual |
Return an unique identifier for the current thread.
Used for multi-threading synchronization.
|
pure virtual |
Return the current UNIX time (Epoch time): the number of seconds elapsed since Jan, 1st 1970 00:00.