You are here: Home > Projects > SimStream > Documentation

SimStream Documentation

Inheritance diagram for CConnectionSender:
CConnection

List of all members.

Public Types

enum  EResult { SEND_SUCCESS = 0, SEND_FAIL_NOT_OPEN = 1 }
enum  EStateSender { IDLE = 0, SENDING = 1 }

Public Member Functions

 CConnectionSender (__uint32 idEntry, __uint16 port, CSimHandler *sim, IDelegate5< void, __uint16, __uint16, CAddress, __byte, CPacket * > *delegateSend, IDelegate1< void, CConnection * > *delegateDispose, CAddress remoteAddress, __uint16 remotePort, __uint32 remoteId, __uint32 remoteIdEntry, __uint32 segmentSize)
EResult Send (CPacket *packet)
Event2< void,
CConnectionSender *, CPacket * > * 
EventSend ()
__time StatFlowRtt ()
__bitrate StatFlowRate ()
double StatFlowLossRate ()
char * ToString () const

Private Types

typedef queue< CPacket * > TBufferQueue
typedef map< __uint32, CPacket * > TBufferMap

Private Member Functions

virtual void Recv (CPacketConnection *packet)
virtual void RecvData (CPacketConnectionData *packet)
virtual void RecvFeedback (CPacketConnectionFeedback *packet)
void TimerNoFeedback (CTimerInfo *info)
void TimerSender (CTimerInfo *info)
void TimerSenderIdle ()
void TimerSenderSending ()
void UpdateLimits (__bitrate limit)

Private Attributes

EStateSender stateSender
TBufferQueue bufferTx
TBufferMap bufferAck
TBufferQueue bufferRtx
__time flowRtt
__time flowRto
__time flowTld
__uint32 flowMss
__bitrate flowRate
__bitrate flowRateBps
__bitrate flowInitialRate
double flowLossRate
__uint32 flowPacketSequence
__uint32 flowPacketId
__uint32 flowPacketSize
bool flowIdleNoFeedback
__time dliNotLimited1
__time dliNotLimited2
__time dliTimeNew
__time dliTimeNext
__bitrate recvRateSet [RECV_RATE_SET_SIZE]
__byte recvRateSetFirst
__byte recvRateSetLast
CTimer< CConnectionSender > * timerNoFeedback
CTimer< CConnectionSender > * timerSender
void(CConnectionSender::* functionSender )()
Event2< void,
CConnectionSender *, CPacket * > * 
eventSend

Static Private Attributes

static double flowThroughputFunction []
static __time flowMaximumBackoffInterval = 64.0

Detailed Description

Definition at line 7 of file ConnectionSender.h.


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

Last updated: February 8, 2011