|
|
virtual int | getConnectionId ()=0 |
| | Unique identifier for this connection that is assigned by the transport layer.
|
| |
|
virtual void | disconnect ()=0 |
| | Disconnects this connection.
|
| |
| virtual void | sendToTransport (const std::shared_ptr< ArraySegment< byte >> &data)=0 |
| | Send raw data to the transport. More...
|
| |
|
template<typename T , typename = std::enable_if<std::is_base_of<NetworkMessage, T>::value>> |
| void | send (T &message) |
| | Send a NetworkMessage to this connection.
|
| |
◆ sendToTransport()
| virtual void KapMirror::NetworkConnection::sendToTransport |
( |
const std::shared_ptr< ArraySegment< byte >> & |
data | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: