INET Framework for OMNeT++/OMNEST
|
#include <SCTPAlg.h>
Public Member Functions | |
SCTPAlg () | |
virtual | ~SCTPAlg () |
virtual SCTPStateVariables * | createStateVariables () |
virtual void | established (bool active) |
virtual void | connectionClosed () |
virtual void | processTimer (cMessage *timer, SCTPEventCode &event) |
virtual void | sendCommandInvoked (SCTPPathVariables *path) |
virtual void | receivedDataAck (uint32 firstSeqAcked) |
virtual void | receivedDuplicateAck () |
virtual void | receivedAckForDataNotYetSent (uint32 seq) |
virtual void | sackSent () |
virtual void | dataSent (uint32 fromseq) |
Protected Attributes | |
SCTPAlgStateVariables * | state |
SCTPAlg::SCTPAlg | ( | ) |
Ctor.
: SCTPAlgorithm() { state = NULL; }
SCTPAlg::~SCTPAlg | ( | ) | [virtual] |
Virtual dtor.
{ sctpEV3 << "Destructor SCTPAlg" << endl; // Note: don't delete "state" here, it'll be deleted from SCTPAssociation }
void SCTPAlg::connectionClosed | ( | ) | [virtual] |
Implements SCTPAlgorithm.
{ }
SCTPStateVariables * SCTPAlg::createStateVariables | ( | ) | [virtual] |
Creates and returns a SCTPStateVariables object.
Implements SCTPAlgorithm.
{ ASSERT(state == NULL); state = new SCTPAlgStateVariables(); return(state); }
void SCTPAlg::dataSent | ( | uint32 | fromseq | ) | [virtual] |
Implements SCTPAlgorithm.
{ }
void SCTPAlg::established | ( | bool | active | ) | [virtual] |
Implements SCTPAlgorithm.
{ if (active) { sctpEV3 << "Completing connection: sending DATA" << endl; } }
void SCTPAlg::processTimer | ( | cMessage * | timer, |
SCTPEventCode & | event | ||
) | [virtual] |
Implements SCTPAlgorithm.
{ sctpEV3 << "no extra timers in this SCTP variant" << endl; }
void SCTPAlg::receivedAckForDataNotYetSent | ( | uint32 | seq | ) | [virtual] |
Implements SCTPAlgorithm.
{ sctpEV3 << "ACK acks something not yet sent, sending immediate ACK" << endl; }
void SCTPAlg::receivedDataAck | ( | uint32 | firstSeqAcked | ) | [virtual] |
Implements SCTPAlgorithm.
{ }
void SCTPAlg::receivedDuplicateAck | ( | ) | [virtual] |
Implements SCTPAlgorithm.
{ sctpEV3 << "Duplicate ACK #" << endl; }
void SCTPAlg::sackSent | ( | ) | [virtual] |
Implements SCTPAlgorithm.
{ }
void SCTPAlg::sendCommandInvoked | ( | SCTPPathVariables * | path | ) | [virtual] |
Implements SCTPAlgorithm.
{ assoc->sendOnPath(path); }
SCTPAlgStateVariables* SCTPAlg::state [protected] |
Referenced by createStateVariables(), and SCTPAlg().