#include <AMICO_Layer.h>
Inherits AP::AP_Thread.
Inherited by MyClass.
Public Types | |
enum | Link { MemoryLink, SocketLink } |
Public Member Functions | |
AMICO_Layer (const AP_String &alias, const Link type=SocketLink) | |
AP_Bool | Create (void) |
void | Destroy (void) |
virtual AP_Bool | Dispatcher (AMICO_ActiveMessagePointer &message)=0 |
AP_Bool | Post (const AP_String &target, const AMICO_ActiveMessage &message) |
void | run (void) |
AMICO_ActiveMessageQueue * | rxQueue (void) |
AP_Bool | valid (void) const |
Inline. | |
virtual | ~AMICO_Layer (void) |
Private Member Functions | |
AMICO_Link * | linkAlloc (const AP_String &alias) |
Private Attributes | |
AMICO_ConnectionTable | m_Connections |
AMICO_Receiver | m_Receiver |
AMICO_ActiveMessageQueue | m_RxQueue |
AMICO_Link * | m_Server |
Link | m_Type |
enum Link |
AMICO_Layer | ( | const AP_String & | alias, | |
const Link | type = SocketLink | |||
) |
~AMICO_Layer | ( | void | ) | [virtual] |
AP_Bool Create | ( | void | ) |
void Destroy | ( | void | ) |
virtual AP_Bool Dispatcher | ( | AMICO_ActiveMessagePointer & | message | ) | [pure virtual] |
AMICO_Link * linkAlloc | ( | const AP_String & | alias | ) | [private] |
AP_Bool Post | ( | const AP_String & | target, | |
const AMICO_ActiveMessage & | message | |||
) |
void run | ( | void | ) | [virtual] |
AMICO_ActiveMessageQueue* rxQueue | ( | void | ) | [inline] |
AP_Bool valid | ( | void | ) | const [inline] |
Inline.
AMICO_ConnectionTable m_Connections [private] |
AMICO_Receiver m_Receiver [private] |
AMICO_ActiveMessageQueue m_RxQueue [private] |
AMICO_Link* m_Server [private] |