#include <internal.h>
◆ UDPPeer()
◆ ~UDPPeer()
virtual con::UDPPeer::~UDPPeer |
( |
| ) |
|
|
virtualdefault |
◆ addSplitPacket()
◆ getAddress()
virtual const Address & con::UDPPeer::getAddress |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getNextSplitSequenceNumber()
u16 con::UDPPeer::getNextSplitSequenceNumber |
( |
u8 | channel | ) |
|
|
overridevirtual |
◆ getResendTimeout()
float con::UDPPeer::getResendTimeout |
( |
| ) |
|
|
inlineprotected |
◆ isTimedOut()
bool con::UDPPeer::isTimedOut |
( |
float | timeout, |
|
|
std::string & | reason ) |
|
overridevirtual |
◆ Ping()
bool con::UDPPeer::Ping |
( |
float | dtime, |
|
|
SharedBuffer< u8 > & | data ) |
|
overrideprotectedvirtual |
◆ processReliableSendCommand()
bool con::UDPPeer::processReliableSendCommand |
( |
ConnectionCommandPtr & | c_ptr, |
|
|
unsigned int | max_packet_size ) |
|
private |
References con::Peer::address, BASE_HEADER_SIZE, channels, dout_con, FATAL_ERROR_IF, con::Connection::getDesc(), con::Channel::getOutgoingSequenceNumber(), con::Connection::GetPeerID(), con::Connection::GetProtocolID(), 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::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 |
( |
ConnectionCommandPtr & | c, |
|
|
unsigned int | max_packet_size ) |
|
overridevirtual |
Reimplemented from con::Peer.
References channels, derr_con, dout_con, con::Connection::getDesc(), con::Channel::getWindowSize(), LOG, con::Peer::m_connection, m_pending_disconnect, processReliableSendCommand(), con::Channel::queued_commands, and con::Channel::queued_reliables.
◆ reportRTT()
void con::UDPPeer::reportRTT |
( |
float | rtt | ) |
|
|
overrideprotectedvirtual |
Reimplemented from con::Peer.
References con::AVG_RTT, dout_con, con::Connection::getDesc(), getResendTimeout(), con::Peer::getStat(), con::Peer::m_connection, MAX_RELIABLE_WINDOW_SIZE, RESEND_TIMEOUT_FACTOR, RESEND_TIMEOUT_MAX, RESEND_TIMEOUT_MIN, con::Peer::RTTStatistics(), and setResendTimeout().
◆ RunCommandQueues()
void con::UDPPeer::RunCommandQueues |
( |
unsigned int | max_packet_size, |
|
|
unsigned int | maxtransfer ) |
|
protected |
◆ setNextSplitSequenceNumber()
void con::UDPPeer::setNextSplitSequenceNumber |
( |
u8 | channel, |
|
|
u16 | seqnum ) |
|
overridevirtual |
◆ 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: