interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VIP::Connection Class Reference

#include <connection.hh>

Inheritance diagram for VIP::Connection:

VUtil::RefCounted List of all members.

Detailed Description

Definition at line 96 of file connection.hh.

Public Types

Public Member Functions


Member Enumeration Documentation

Enumerator:
Opening 
WaitingForReply 
Connected 
Lingering 
Closed 

Definition at line 99 of file connection.hh.


Constructor & Destructor Documentation

VIP::Connection::Connection ( int  skt,
sockaddr_in *  remoteaddr,
SocketMultiplexer sm 
)

VIP::Connection::~Connection (  ) 


Member Function Documentation

void VIP::Connection::ackBytes ( unsigned int  bytes,
bool  resetRecovery 
)

void VIP::Connection::close ( bool  linger = true,
bool  waitForClose = false,
bool  norst = false 
)

void VIP::Connection::doCallback ( Message m  ) 

void VIP::Connection::fastRecovery (  ) 

void VIP::Connection::flush (  ) 

unsigned int VIP::Connection::getCWND (  )  [inline]

Definition at line 224 of file connection.hh.

double VIP::Connection::getHighRTT (  )  [inline]

Definition at line 222 of file connection.hh.

void VIP::Connection::getLocalAddress ( unsigned char  ipaddr[4],
unsigned int &  port 
)

void VIP::Connection::getLocalHostname ( std::string &  hostname,
unsigned int &  port 
)

void VIP::Connection::getPeerAddress ( unsigned char  ipaddr[4],
unsigned int &  port 
)

void VIP::Connection::getPeerHostname ( std::string &  hostname,
unsigned int &  port 
)

double VIP::Connection::getRTO (  )  [inline]

Definition at line 223 of file connection.hh.

double VIP::Connection::getSRTT (  )  [inline]

Definition at line 221 of file connection.hh.

ConnectState VIP::Connection::getState (  )  [inline]

Definition at line 247 of file connection.hh.

bool VIP::Connection::handleSYN ( uint8_t *  buf,
unsigned int  sz 
)

bool VIP::Connection::isConnected (  )  [inline]

Definition at line 198 of file connection.hh.

void VIP::Connection::killSender (  ) 

void VIP::Connection::notifyLoss (  ) 

unsigned int VIP::Connection::queuedBytes ( int  ToS,
int  channel 
)

void VIP::Connection::queueMsg ( Message m  ) 

int VIP::Connection::recv ( int  ToS,
int  channel,
uint8_t *  data,
unsigned int  maxsize,
bool  block 
)

void VIP::Connection::senderLoop (  ) 

void VIP::Connection::sendSYN (  ) 

void VIP::Connection::setCallback ( MsgCallback cb  ) 

void VIP::Connection::setDisconnectCallback ( DisconnectCallback cb  )  [inline]

Definition at line 204 of file connection.hh.

void VIP::Connection::sleepForSYN ( uint8_t *  buf,
unsigned int  sz 
)

void VIP::Connection::splitIntoChunks ( uint8_t *  buf,
unsigned int  sz 
)

unsigned int VIP::Connection::totalBytesSent (  )  [inline]

Definition at line 227 of file connection.hh.

void VIP::Connection::wakeupForSYN (  ) 

void VIP::Connection::wakeupSender (  ) 


The documentation for this class was generated from the following file: