|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Notification of a connection lifecycle change (connect, disconnect, buffer state...). More...
#include <NetworkManager.h>
Public Attributes | |
| uint64 | cid |
| Channel id the event belongs to. | |
| uint64 | conid |
| Connection id within the channel. | |
| uint64 | time |
| Event timestamp (ms epoch). | |
| uint8 | type |
| NETWORKEVENT_* event type. | |
| uint8 | protocol |
| PROTOCOL_* of the affected connection. | |
Notification of a connection lifecycle change (connect, disconnect, buffer state...).
Delivered to NetworkReceiver::receiveNetworkEvent() or via NetworkChannel::waitForNetworkEvent(). See the NETWORKEVENT_* constants.
Definition at line 70 of file NetworkManager.h.
| uint64 cmlabs::NetworkEvent::cid |
Channel id the event belongs to.
Definition at line 71 of file NetworkManager.h.
Referenced by cmlabs::NetworkChannel::enterNetworkEvent().
| uint64 cmlabs::NetworkEvent::conid |
Connection id within the channel.
Definition at line 72 of file NetworkManager.h.
Referenced by cmlabs::NetworkChannel::enterNetworkEvent().
| uint8 cmlabs::NetworkEvent::protocol |
PROTOCOL_* of the affected connection.
Definition at line 75 of file NetworkManager.h.
Referenced by cmlabs::NetworkChannel::enterNetworkEvent().
| uint64 cmlabs::NetworkEvent::time |
Event timestamp (ms epoch).
Definition at line 73 of file NetworkManager.h.
Referenced by cmlabs::NetworkChannel::enterNetworkEvent().
| uint8 cmlabs::NetworkEvent::type |
NETWORKEVENT_* event type.
Definition at line 74 of file NetworkManager.h.
Referenced by cmlabs::NetworkChannel::enterNetworkEvent(), cmlabs::RequestClient::receiveNetworkEvent(), cmlabs::RequestExecutor::receiveNetworkEvent(), and cmlabs::RequestGateway::receiveNetworkEvent().