commore
1.0.6-SNAPSHOT
|
Public Member Functions | |
SHMConnectionServer (SHMListener *receiver, const char *name, const TimePeriod &timeout, size_t size) | |
~SHMConnectionServer () | |
bool | stop () |
void | run () |
![]() | |
Thread () | |
virtual | ~Thread () |
bool | start () |
bool | request_stop () |
bool | stop () |
bool | is_to_stop () |
bool | is_stopped () |
bool | is_running () |
bool | wait (TimePeriod timeout) |
bool | trigger () |
virtual void | run_item () |
![]() | |
SHMPipe (const char *name, bool isServer, size_t size) | |
size_t | get_file_map_size () const |
~SHMPipe () | |
void | close () |
unsigned int | get_pid () const |
const AString & | name () const |
void | signal_data_wrote (bool close=false) |
void | signal_data_read () |
bool | wait_for_data_wrote (const TimePeriod &timeout) |
bool | wait_for_data_read (const TimePeriod &timeout) |
MemoryBuffer * | get_buff () const |
void | reset () |
bool | receive_buffer (CommBuffer &buf, const TimePeriod &timeout) |
bool | send_buffer (CommBuffer &buf, const TimePeriod &timeout) |
bool | send_receive (CommBuffer &inBuf, CommBuffer &outBuf, const TimePeriod &timeout) |
bool | is_ok () |
bool | created () |
![]() | |
RefObject () | |
virtual | ~RefObject () |
virtual void | attach () |
virtual void | release () |
virtual void | nested_attach () |
virtual void | nested_release () |
virtual void | interface_release () |
virtual void | Run () |
virtual CriticalSection * | get_cs () |
Additional Inherited Members | |
![]() | |
static AutoRefBase | auto_create () |
static AutoRefBase | auto_create (const AChar *s) |
static AutoRefBase | create () |
static AutoRefBase | create (const AChar *s) |
static AutoRefBase | bind () |
static AutoRefBase | bind (const AChar *s) |
static const AChar * | factory_name () |
![]() | |
Event | event_data_read_by_client_ |
Event | event_data_read_by_server_ |
Event | event_data_wrote_by_client_ |
Event | event_data_wrote_by_server_ |
|
inline |
|
inline |
|
virtual |
The main thread function. The method is call on start method by created system thread. The thread terminate when this method end. Must be implemented by derived class.
Reimplemented from commore::Thread.
|
inline |