R-Type
R-Type project
KapMirror::NetworkConnectionToClient Class Reference
Inheritance diagram for KapMirror::NetworkConnectionToClient:
KapMirror::NetworkConnection

Public Member Functions

 NetworkConnectionToClient (int _connectionId)
 
int getConnectionId () override
 Unique identifier for this connection that is assigned by the transport layer.
 
void disconnect () override
 Disconnects this connection.
 
void sendToTransport (const std::shared_ptr< ArraySegment< byte >> &data) override
 Send raw data to the transport. More...
 
- Public Member Functions inherited from KapMirror::NetworkConnection
template<typename T , typename = std::enable_if<std::is_base_of<NetworkMessage, T>::value>>
void send (T &message)
 Send a NetworkMessage to this connection.
 

Member Function Documentation

◆ sendToTransport()

void KapMirror::NetworkConnectionToClient::sendToTransport ( const std::shared_ptr< ArraySegment< byte >> &  data)
inlineoverridevirtual

Send raw data to the transport.

Parameters
dataData to send

Implements KapMirror::NetworkConnection.


The documentation for this class was generated from the following file: