◆ clientConnect()
| void SylphTransport::clientConnect |
( |
const std::string & |
ip, |
|
|
int |
port |
|
) |
| |
|
overridevirtual |
Connect the client to the server.
- Parameters
-
| ip | The ip of the server |
| port | The port of the server |
Implements KapMirror::Transport.
◆ clientConnected()
| bool SylphTransport::clientConnected |
( |
| ) |
|
|
overridevirtual |
Client is connected to the server.
- Returns
- True if the client is connected to the server
Implements KapMirror::Transport.
◆ clientSend()
| void SylphTransport::clientSend |
( |
const std::shared_ptr< ArraySegment< byte >> & |
data | ) |
|
|
overridevirtual |
◆ serverDisconnect()
| void SylphTransport::serverDisconnect |
( |
int |
connectionId | ) |
|
|
overridevirtual |
Disconnect the connection.
- Parameters
-
| connectionId | The id of the connection |
Implements KapMirror::Transport.
◆ serverSend()
| void SylphTransport::serverSend |
( |
int |
connectionId, |
|
|
const std::shared_ptr< ArraySegment< byte >> & |
data |
|
) |
| |
|
overridevirtual |
Send data to the client.
- Parameters
-
| connectionId | The id of the connection |
| data | The data to send |
Implements KapMirror::Transport.
◆ serverStart()
| void SylphTransport::serverStart |
( |
int |
port | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- Packages/SylphTransport/Sylph/SylphTransport.hpp
- Packages/SylphTransport/Sylph/SylphTransport.cpp