#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 |
Definition at line 36 of file SCTPAlg.h.
| SCTPAlg::SCTPAlg | ( | ) |
| SCTPAlg::~SCTPAlg | ( | ) | [virtual] |
Virtual dtor.
Definition at line 30 of file SCTPAlg.cc.
{
sctpEV3 << "Destructor SCTPAlg" << endl;
// Note: don't delete "state" here, it'll be deleted from SCTPAssociation
}
| void SCTPAlg::connectionClosed | ( | ) | [virtual] |
| SCTPStateVariables * SCTPAlg::createStateVariables | ( | ) | [virtual] |
Creates and returns a SCTPStateVariables object.
Implements SCTPAlgorithm.
Definition at line 36 of file SCTPAlg.cc.
{
ASSERT(state == NULL);
state = new SCTPAlgStateVariables();
return(state);
}
| void SCTPAlg::dataSent | ( | uint32 | fromseq | ) | [virtual] |
| void SCTPAlg::established | ( | bool | active | ) | [virtual] |
Implements SCTPAlgorithm.
Definition at line 43 of file SCTPAlg.cc.
{
if (active) {
sctpEV3 << "Completing connection: sending DATA" << endl;
}
}
| void SCTPAlg::processTimer | ( | cMessage * | timer, | |
| SCTPEventCode & | event | |||
| ) | [virtual] |
Implements SCTPAlgorithm.
Definition at line 54 of file SCTPAlg.cc.
{
sctpEV3 << "no extra timers in this SCTP variant" << endl;
}
| void SCTPAlg::receivedAckForDataNotYetSent | ( | uint32 | seq | ) | [virtual] |
Implements SCTPAlgorithm.
Definition at line 73 of file SCTPAlg.cc.
{
sctpEV3 << "ACK acks something not yet sent, sending immediate ACK" << endl;
}
| void SCTPAlg::receivedDataAck | ( | uint32 | firstSeqAcked | ) | [virtual] |
| void SCTPAlg::receivedDuplicateAck | ( | ) | [virtual] |
Implements SCTPAlgorithm.
Definition at line 68 of file SCTPAlg.cc.
{
sctpEV3 << "Duplicate ACK #" << endl;
}
| void SCTPAlg::sackSent | ( | ) | [virtual] |
| void SCTPAlg::sendCommandInvoked | ( | SCTPPathVariables * | path | ) | [virtual] |
SCTPAlgStateVariables* SCTPAlg::state [protected] |
Definition at line 39 of file SCTPAlg.h.
Referenced by createStateVariables(), and SCTPAlg().
1.7.1