![]() |
XII Release 0.1.0
|
Public Member Functions | |
| xiiResult | ConnectToServer (const char *szAddress) |
| bool | IsConnected () const |
| void | CloseConnection () |
| void | TryConnect () |
| Public Member Functions inherited from xiiProcessCommunicationChannel | |
| xiiProcessCommunicationChannel () | |
| Copyright (c) Theophilus Eriata. All Rights Reserved. | |
| bool | SendMessage (xiiProcessMessage *pMessage) |
| xiiResult | WaitForMessage (const xiiRTTI *pMessageType, xiiTime timeout, WaitForMessageCallback *pMessageCallack=nullptr) |
| xiiResult | WaitForConnection (xiiTime timeout) |
| bool | IsConnected () const |
| bool | ProcessMessages () |
| Returns true if any message was processed. | |
| void | WaitForMessages () |
| void | MessageFunc (const xiiIpcProcessMessageProtocol::Event &msg) |
Additional Inherited Members | |
| Public Types inherited from xiiProcessCommunicationChannel | |
| using | WaitForMessageCallback = xiiDelegate<bool(xiiProcessMessage*)> |
| Callback for 'wait for...' functions. If true is returned, the message is accepted to match the wait criteria and the waiting ends. If false is returned the wait for the message continues. | |
| Public Attributes inherited from xiiProcessCommunicationChannel | |
| xiiEvent< const Event & > | m_Events |
| Protected Attributes inherited from xiiProcessCommunicationChannel | |
| xiiUniquePtr< xiiIpcProcessMessageProtocol > | m_pProtocol |
| xiiUniquePtr< xiiIpcChannel > | m_pChannel |
| const xiiRTTI * | m_pFirstAllowedMessageType = nullptr |