#include <connection.h>
◆ UDPPeer()
◆ ~UDPPeer()
virtual con::UDPPeer::~UDPPeer |
( |
| ) |
|
|
virtualdefault |
◆ addSplitPacket()
◆ getAddress()
◆ getNextSplitSequenceNumber()
u16 con::UDPPeer::getNextSplitSequenceNumber |
( |
u8 |
channel | ) |
|
|
virtual |
◆ getResendTimeout()
float con::UDPPeer::getResendTimeout |
( |
| ) |
|
|
inlineprotected |
◆ Ping()
bool con::UDPPeer::Ping |
( |
float |
dtime, |
|
|
SharedBuffer< u8 > & |
data |
|
) |
| |
|
protectedvirtual |
◆ processReliableSendCommand()
bool con::UDPPeer::processReliableSendCommand |
( |
ConnectionCommand & |
c, |
|
|
unsigned int |
max_packet_size |
|
) |
| |
|
private |
References con::Peer::address, BASE_HEADER_SIZE, con::ConnectionCommand::channelnum, channels, con::ConnectionCommand::data, dout_con, FATAL_ERROR_IF, con::Connection::getDesc(), con::Channel::getOutgoingSequenceNumber(), con::Connection::GetPeerID(), con::Connection::GetProtocolID(), Buffer< T >::getSize(), LOG, con::Peer::m_connection, m_pending_disconnect, con::makeAutoSplitPacket(), con::makePacket(), con::makeReliablePacket(), MAX_RELIABLE_WINDOW_SIZE, con::Channel::outgoing_reliables_sent, p(), con::Channel::putBackSequenceNumber(), con::Channel::queued_reliables, con::ConnectionCommand::raw, con::Channel::readNextSplitSeqNum(), RELIABLE_HEADER_SIZE, sanity_check, SEQNUM_MAX, con::Channel::setNextSplitSeqNum(), and con::ReliablePacketBuffer::size().
Referenced by PutReliableSendCommand(), and RunCommandQueues().
◆ PutReliableSendCommand()
void con::UDPPeer::PutReliableSendCommand |
( |
ConnectionCommand & |
c, |
|
|
unsigned int |
max_packet_size |
|
) |
| |
|
virtual |
Reimplemented from con::Peer.
References con::ConnectionCommand::channelnum, channels, con::ConnectionCommand::data, derr_con, dout_con, con::Connection::getDesc(), Buffer< T >::getSize(), con::Channel::getWindowSize(), LOG, con::Peer::m_connection, m_pending_disconnect, con::ConnectionCommand::peer_id, processReliableSendCommand(), con::Channel::queued_commands, and con::Channel::queued_reliables.
◆ reportRTT()
void con::UDPPeer::reportRTT |
( |
float |
rtt | ) |
|
|
protectedvirtual |
◆ RunCommandQueues()
void con::UDPPeer::RunCommandQueues |
( |
unsigned int |
max_packet_size, |
|
|
unsigned int |
maxcommands, |
|
|
unsigned int |
maxtransfer |
|
) |
| |
|
protected |
◆ setNextSplitSequenceNumber()
void con::UDPPeer::setNextSplitSequenceNumber |
( |
u8 |
channel, |
|
|
u16 |
seqnum |
|
) |
| |
|
virtual |
◆ setResendTimeout()
void con::UDPPeer::setResendTimeout |
( |
float |
timeout | ) |
|
|
inlineprotected |
◆ Connection
◆ ConnectionReceiveThread
◆ ConnectionSendThread
◆ PeerHelper
◆ channels
◆ m_pending_disconnect
bool con::UDPPeer::m_pending_disconnect = false |
|
protected |
◆ resend_timeout
float con::UDPPeer::resend_timeout = 0.5 |
|
private |
The documentation for this class was generated from the following files: