|
| LocalNodeSPtr | createLocalNode (ESocket::Address &addr, Bool start=True) |
| | Creates a local node. More...
|
| |
| Void | startLocalNode (LocalNodeSPtr &ln) |
| | Startes an externally constructed local node. More...
|
| |
| Void | stopLocalNode (LocalNodeSPtr &ln) |
| | Stops the local node. More...
|
| |
|
| LocalNodeSPtr | createLocalNode (cpStr ipaddr, UShort port=PFCP::Configuration::port(), Bool start=True) |
| | Creates a local node. More...
|
| |
| LocalNodeSPtr | createLocalNode (const EIpAddress &ipaddr, UShort port=PFCP::Configuration::port(), Bool start=True) |
| |
| | EThreadEventWorkGroup () |
| | Default class constructor. More...
|
| |
| | ~EThreadEventWorkGroup () |
| | The class destructor. More...
|
| |
| Bool | isInitialized () |
| | Retrieves indication if this work group object has been initialized. More...
|
| |
| Bool | sendMessage (UInt message, Bool wait=True) |
| | Sends event message to this work group. More...
|
| |
| Bool | sendMessage (UInt message, pVoid voidptr, Bool wait=True) |
| | Sends event message to this work group. More...
|
| |
| Bool | sendMessage (const TMessage &msg, Bool wait=True) |
| | Sends event message to this work group. More...
|
| |
| virtual Void | init (Short appId, UShort workGroupId, Int minWorkers, Int maxWorkers=-1, Int queueSize=16384, pVoid arg=nullptr, Bool suspended=False, Dword stackSize=0) |
| | Initializes the thread object. More...
|
| |
| Void | join () |
| | Returns after successfully joining each worker thread. More...
|
| |
| Void | quit () |
| | Posts the quit message to all of the worker threads. More...
|
| |
| Void | start () |
| | Initializes the thread when it was suspended at init(). More...
|
| |
| Bool | addWorker () |
| | Creates a new worker thread if the current number of workers is less than the maximum configured. More...
|
| |
| Void | initTimer (EThreadEventTimer &t) |
| | Intializes an EThreadEvent::Timer object and associates it with this work group. More...
|
| |
| ESemaphoreData & | getMsgSemaphore () |
| | Returns the semaphore associated with this thread's event queue. More...
|
| |
template<class TWorker>
class PFCP::ApplicationWorkGroup< TWorker >
The PFCP application work group template. This template contains the common event queue for the application worker threads.