#include <RIPCSession.h>
Public Member Functions | |
virtual RIPCEvent * | createEvent (char const *name, bool signaled, bool manualReset)=0 |
virtual RIPCEvent * | openEvent (char const *name)=0 |
virtual RIPCSemaphore * | createSemaphore (char const *name, int initCount)=0 |
virtual RIPCSemaphore * | openSemaphore (char const *name)=0 |
virtual RIPCMutex * | createMutex (char const *name, bool locked)=0 |
virtual RIPCMutex * | openMutex (char const *name)=0 |
virtual RIPCQueue * | createQueue (char const *name)=0 |
virtual RIPCQueue * | openQueue (char const *name)=0 |
virtual RIPCSharedMemory * | createSharedMemory (char const *name, RIPCObject const &objDesc)=0 |
virtual RIPCSharedMemory * | createSharedMemory (char const *name, void const *obj, size_t objSize)=0 |
virtual RIPCSharedMemory * | openSharedMemory (char const *name)=0 |
virtual RIPCLock * | createLock (char const *name)=0 |
virtual RIPCLock * | openLock (char const *name)=0 |
virtual RIPCBarrier * | createBarrier (char const *name, int nSessions)=0 |
virtual RIPCBarrier * | openBarrier (char const *name)=0 |
virtual void | close ()=0 |
virtual void | shutdownServer ()=0 |
virtual void | showServerInfo (char *buf, size_t bufSize)=0 |
virtual bool | isLocal ()=0 |
virtual bool | isOk ()=0 |
virtual void | getErrorText (char *buf, size_t bufSize)=0 |
|
Close session. This method disconnects client from server, release all locks hold by this session and close all primitives opened by this session. |
|
Create or return existed barrier synchronization object.
|
|
Create or return existed event synchronization object.
|
|
Create or return existed lock synchronization object.
|
|
Create or return existed mutex synchronization object.
|
|
Create or return existed queue bject.
|
|
Create or return existed semaphore synchronization object.
|
|
Create or return existed shared memory object.
|
|
Create or return existed shared memory object.
|
|
Get communication error message in case of conenction failure. This method should be used if
|
|
Checks whether it is local session
|
|
Checks whether session is ok or not
|
|
Open existed barrier.
|
|
Open existed event.
|
|
Open existed lock.
|
|
Open existed mutex.
|
|
Open existed queue.
|
|
Open existed semaphore.
|
|
Create or return existed shared memory object.
|
|
Get information about server state. This method is used by
|
|
Terminate server. This method is used by |