#include <connection.h>
Inheritance diagram for con::IConnection:Public Member Functions | |
| virtual | ~IConnection ()=default |
| virtual void | Serve (Address bind_addr)=0 |
| virtual void | Connect (Address address)=0 |
| virtual bool | Connected ()=0 |
| virtual void | Disconnect ()=0 |
| virtual void | DisconnectPeer (session_t peer_id)=0 |
| virtual bool | ReceiveTimeoutMs (NetworkPacket *pkt, u32 timeout_ms)=0 |
| bool | TryReceive (NetworkPacket *pkt) |
| virtual void | Send (session_t peer_id, u8 channelnum, NetworkPacket *pkt, bool reliable)=0 |
| virtual session_t | GetPeerID () const =0 |
| virtual Address | GetPeerAddress (session_t peer_id)=0 |
| virtual float | getPeerStat (session_t peer_id, rtt_stat_type type)=0 |
| virtual float | getLocalStat (rate_stat_type type)=0 |
|
virtualdefault |
|
pure virtual |
Implemented in con::Connection.
Referenced by Client::connect().
Here is the caller graph for this function:
|
pure virtual |
Implemented in con::Connection.
|
pure virtual |
Implemented in con::Connection.
Referenced by Client::~Client(), and Client::handleCommand_Hello().
Here is the caller graph for this function:
|
pure virtual |
Implemented in con::Connection.
Referenced by Server::DisconnectPeer(), and ClientInterface::step().
Here is the caller graph for this function:
|
pure virtual |
Implemented in con::Connection.
Referenced by Client::getCurRate().
Here is the caller graph for this function:Implemented in con::Connection.
Referenced by Client::getServerAddress(), Server::handleCommand_Init(), and ClientInterface::step().
Here is the caller graph for this function:
|
pure virtual |
Implemented in con::Connection.
|
pure virtual |
Implemented in con::Connection.
Referenced by Server::getClientConInfo(), and Client::getRTT().
Here is the caller graph for this function:
|
pure virtual |
Implemented in con::Connection.
Referenced by Server::Receive(), and TryReceive().
Here is the caller graph for this function:
|
pure virtual |
Implemented in con::Connection.
Referenced by Client::Send(), ClientInterface::send(), ClientInterface::sendCustom(), and ClientInterface::sendToAll().
Here is the caller graph for this function:
|
pure virtual |
Implemented in con::Connection.
Referenced by Server::start().
Here is the caller graph for this function:
|
inline |
References ReceiveTimeoutMs().
Referenced by Client::ReceiveAll().
Here is the call graph for this function:
Here is the caller graph for this function: