Alex Bikfalvi
SimStream Documentation
Classes |
Public Member Functions |
Private Types |
Private Member Functions |
Private Attributes |
Static Private Attributes
CConnectionReceiver Class Reference
Inheritance diagram for CConnectionReceiver:
Classes | |
struct | SLossEvent |
Public Member Functions | |
CConnectionReceiver (__uint32 idEntry, __uint16 port, CSimHandler *sim, IDelegate5< void, __uint16, __uint16, CAddress, __byte, CPacket * > *delegateSend, IDelegate2< void, CConnectionReceiver *, CPacket * > *delegateRecv, IDelegate1< void, CConnection * > *delegateDispose, CAddress remoteAddress, __uint16 remotePort) | |
char * | ToString () const |
Private Types | |
typedef map< __uint32, __time > | THistoryRecv |
typedef queue< __uint32 > | THistoryLoss |
Private Member Functions | |
virtual void | Recv (CPacketConnection *packet) |
virtual void | RecvData (CPacketConnectionData *packet) |
void | RecvDataFirst (CPacketConnectionData *packet) |
void | RecvDataNext (CPacketConnectionData *packet) |
virtual void | RecvFeedback (CPacketConnectionFeedback *packet) |
void | TimerFeedback (CTimerInfo *info) |
Private Attributes | |
IDelegate2< void, CConnectionReceiver *, CPacket * > * | delegateRecv |
double | flowLossRate |
__bitrate | flowRateRecv |
__time | flowRtt |
__uint32 | flowSequenceLast |
__time | flowTimeLast |
__time | timeTxLast |
__time | timeRxLast |
__time | timeFeedbackLast |
CTimer< CConnectionReceiver > * | timerFeedback |
void(CConnectionReceiver::* | recvData )(CPacketConnectionData *) |
THistoryRecv | historyRecv |
THistoryLoss | historyLoss |
SLossEvent | lossEvents [MAX_LOSS_EVENTS] |
__byte | lossEventFirst |
__byte | lossEventLast |
__byte | lossEventCount |
__uint32 | lossSequenceLast |
double | lossPrevInterval0 |
double | lossPrevInterval1 |
double | lossPrevWeigth |
__uint32 | recvSize |
Static Private Attributes | |
static double | lossIntervalWeigth [MAX_LOSS_EVENTS] = {1.0, 1.0, 1.0, 1.0, 0.8, 0.6, 0.4, 0.2} |
Detailed Description
Definition at line 7 of file ConnectionReceiver.h.
The documentation for this class was generated from the following files:
Last updated: February 8, 2011