#include <network.h>
|
| void | SetToken7 (TOKEN Token) |
| void | Reset (bool Rejoin=false) |
| void | Init (NETSOCKET Socket, bool BlockCloseMsg) |
| int | Connect (const NETADDR *pAddr, int NumAddrs) |
| int | Connect7 (const NETADDR *pAddr, int NumAddrs) |
| void | Disconnect (const char *pReason) |
| int | Update () |
| int | Flush () |
| int | Feed (CNetPacketConstruct *pPacket, NETADDR *pAddr, SECURITY_TOKEN SecurityToken=NET_SECURITY_TOKEN_UNSUPPORTED, SECURITY_TOKEN ResponseToken=NET_SECURITY_TOKEN_UNSUPPORTED) |
| int | QueueChunk (int Flags, int DataSize, const void *pData) |
| const char * | ErrorString () |
| void | SignalResend () |
| EState | State () const |
| const NETADDR * | PeerAddress () const |
| const std::array< char, NETADDR_MAXSTRSIZE > & | PeerAddressString (bool IncludePort) const |
| void | ConnectAddresses (const NETADDR **ppAddrs, int *pNumAddrs) const |
| void | ResetErrorString () |
| const char * | ErrorString () const |
| int64_t | LastRecvTime () const |
| int64_t | ConnectTime () const |
| int | AckSequence () const |
| int | SeqSequence () const |
| int | SecurityToken () const |
| CStaticRingBuffer< CNetChunkResend, NET_CONN_BUFFERSIZE > * | ResendBuffer () |
| void | ResumeConnection (const NETADDR *pAddr, int Sequence, int Ack, SECURITY_TOKEN SecurityToken, CStaticRingBuffer< CNetChunkResend, NET_CONN_BUFFERSIZE > *pResendBuffer, bool Sixup) |
| void | DirectInit (const NETADDR &Addr, SECURITY_TOKEN SecurityToken, SECURITY_TOKEN Token, bool Sixup) |
| void | SetUnknownSeq () |
| void | SetSequence (int Sequence) |
◆ EState
| Enumerator |
|---|
| OFFLINE | |
| WANT_TOKEN | |
| CONNECT | |
| PENDING | |
| ONLINE | |
| ERROR | |
◆ AckChunks()
| void CNetConnection::AckChunks |
( |
int | Ack | ) |
|
|
private |
◆ AckSequence()
| int CNetConnection::AckSequence |
( |
| ) |
const |
|
inline |
◆ ClearPeerAddr()
| void CNetConnection::ClearPeerAddr |
( |
| ) |
|
|
private |
◆ Connect()
| int CNetConnection::Connect |
( |
const NETADDR * | pAddr, |
|
|
int | NumAddrs ) |
◆ Connect7()
| int CNetConnection::Connect7 |
( |
const NETADDR * | pAddr, |
|
|
int | NumAddrs ) |
◆ ConnectAddresses()
| void CNetConnection::ConnectAddresses |
( |
const NETADDR ** | ppAddrs, |
|
|
int * | pNumAddrs ) const |
|
inline |
◆ ConnectTime()
| int64_t CNetConnection::ConnectTime |
( |
| ) |
const |
|
inline |
◆ DirectInit()
◆ Disconnect()
| void CNetConnection::Disconnect |
( |
const char * | pReason | ) |
|
◆ ErrorString() [1/2]
| const char * CNetConnection::ErrorString |
( |
| ) |
|
◆ ErrorString() [2/2]
| const char * CNetConnection::ErrorString |
( |
| ) |
const |
|
inline |
◆ Feed()
◆ Flush()
| int CNetConnection::Flush |
( |
| ) |
|
◆ GenerateToken7()
| TOKEN CNetConnection::GenerateToken7 |
( |
const NETADDR * | pPeerAddr | ) |
|
|
staticprivate |
◆ Init()
| void CNetConnection::Init |
( |
NETSOCKET | Socket, |
|
|
bool | BlockCloseMsg ) |
◆ IsSixup()
| bool CNetConnection::IsSixup |
( |
| ) |
const |
|
inlineprivate |
◆ LastRecvTime()
| int64_t CNetConnection::LastRecvTime |
( |
| ) |
const |
|
inline |
◆ PeerAddress()
| const NETADDR * CNetConnection::PeerAddress |
( |
| ) |
const |
|
inline |
◆ PeerAddressString()
| const std::array< char, NETADDR_MAXSTRSIZE > & CNetConnection::PeerAddressString |
( |
bool | IncludePort | ) |
const |
|
inline |
◆ QueueChunk()
| int CNetConnection::QueueChunk |
( |
int | Flags, |
|
|
int | DataSize, |
|
|
const void * | pData ) |
◆ QueueChunkEx()
| int CNetConnection::QueueChunkEx |
( |
int | Flags, |
|
|
int | DataSize, |
|
|
const void * | pData, |
|
|
int | Sequence ) |
|
private |
◆ Resend()
| void CNetConnection::Resend |
( |
| ) |
|
|
private |
◆ ResendBuffer()
◆ ResendChunk()
◆ Reset()
| void CNetConnection::Reset |
( |
bool | Rejoin = false | ) |
|
◆ ResetErrorString()
| void CNetConnection::ResetErrorString |
( |
| ) |
|
|
inline |
◆ ResetStats()
| void CNetConnection::ResetStats |
( |
| ) |
|
|
private |
◆ ResumeConnection()
◆ SecurityToken()
| int CNetConnection::SecurityToken |
( |
| ) |
const |
|
inline |
◆ SendConnect()
| void CNetConnection::SendConnect |
( |
| ) |
|
|
private |
◆ SendControl()
| void CNetConnection::SendControl |
( |
int | ControlMsg, |
|
|
const void * | pExtra, |
|
|
int | ExtraSize ) |
|
private |
◆ SendControlWithToken7()
| void CNetConnection::SendControlWithToken7 |
( |
int | ControlMsg, |
|
|
SECURITY_TOKEN | ResponseToken ) |
|
private |
◆ SeqSequence()
| int CNetConnection::SeqSequence |
( |
| ) |
const |
|
inline |
◆ SetError()
| void CNetConnection::SetError |
( |
const char * | pString | ) |
|
|
private |
◆ SetPeerAddr()
| void CNetConnection::SetPeerAddr |
( |
const NETADDR * | pAddr | ) |
|
|
private |
◆ SetSequence()
| void CNetConnection::SetSequence |
( |
int | Sequence | ) |
|
|
inline |
◆ SetToken7()
| void CNetConnection::SetToken7 |
( |
TOKEN | Token | ) |
|
◆ SetUnknownSeq()
| void CNetConnection::SetUnknownSeq |
( |
| ) |
|
|
inline |
◆ SignalResend()
| void CNetConnection::SignalResend |
( |
| ) |
|
◆ State()
| EState CNetConnection::State |
( |
| ) |
const |
|
inline |
◆ Update()
| int CNetConnection::Update |
( |
| ) |
|
◆ CPacketChunkUnpacker
◆ m_Ack
| unsigned short CNetConnection::m_Ack |
|
private |
◆ m_aConnectAddrs
| NETADDR CNetConnection::m_aConnectAddrs[16] |
|
private |
◆ m_aErrorString
| char CNetConnection::m_aErrorString[256] |
|
private |
◆ m_aPeerAddrStr
◆ m_aPeerAddrStrNoPort
◆ m_BlockCloseMsg
| bool CNetConnection::m_BlockCloseMsg |
|
private |
◆ m_Buffer
◆ m_Construct
◆ m_LastRecvTime
| int64_t CNetConnection::m_LastRecvTime |
|
private |
◆ m_LastSendTime
| int64_t CNetConnection::m_LastSendTime |
|
private |
◆ m_LastUpdateTime
| int64_t CNetConnection::m_LastUpdateTime |
|
private |
◆ m_NumConnectAddrs
| int CNetConnection::m_NumConnectAddrs |
|
private |
◆ m_PeerAck
| unsigned short CNetConnection::m_PeerAck |
|
private |
◆ m_PeerAddr
◆ m_pNetBase
| class CNetBase* CNetConnection::m_pNetBase |
|
private |
◆ m_RemoteClosed
| int CNetConnection::m_RemoteClosed |
|
private |
◆ m_SecurityToken
◆ m_Sequence
| unsigned short CNetConnection::m_Sequence |
|
private |
◆ m_Sixup
| bool CNetConnection::m_Sixup |
◆ m_Socket
◆ m_State
◆ m_Stats
◆ m_TimeoutProtected
| bool CNetConnection::m_TimeoutProtected |
◆ m_TimeoutSituation
| bool CNetConnection::m_TimeoutSituation |
◆ m_Token
◆ m_UnknownSeq
| bool CNetConnection::m_UnknownSeq |
|
private |
The documentation for this class was generated from the following files: