SCTPAlg Class Reference

#include <SCTPAlg.h>

Inheritance diagram for SCTPAlg:

SCTPAlgorithm

List of all members.

Public Member Functions

 SCTPAlg ()
virtual ~SCTPAlg ()
virtual SCTPStateVariablescreateStateVariables ()
virtual void established (bool active)
virtual void connectionClosed ()
virtual void processTimer (cMessage *timer, SCTPEventCode &event)
virtual void sendCommandInvoked (IPvXAddress addr)
virtual void receivedDataAck (uint32 firstSeqAcked)
virtual void receivedDuplicateAck ()
virtual void receivedAckForDataNotYetSent (uint32 seq)
virtual void sackSent ()
virtual void dataSent (uint32 fromseq)

Protected Attributes

SCTPAlgStateVariablesstate


Constructor & Destructor Documentation

SCTPAlg::SCTPAlg (  ) 

Ctor.

00024                  : SCTPAlgorithm()
00025 {
00026     state = NULL;
00027         
00028 }

SCTPAlg::~SCTPAlg (  )  [virtual]

Virtual dtor.

00031 {
00032     sctpEV3<<"Destructor SCTPAlg\n";
00033         // Note: don't delete "state" here, it'll be deleted from SCTPAssociation
00034 }


Member Function Documentation

SCTPStateVariables * SCTPAlg::createStateVariables (  )  [virtual]

Creates and returns a SCTPStateVariables object.

Implements SCTPAlgorithm.

00037 {
00038         ASSERT(state==NULL);
00039         state = new SCTPAlgStateVariables();
00040         return state;
00041 }

void SCTPAlg::established ( bool  active  )  [virtual]

Implements SCTPAlgorithm.

00044 {
00045     if (active)
00046     {
00047         sctpEV3 << "\nCompleting connection: sending DATA\n";
00048     }
00049 }

void SCTPAlg::connectionClosed (  )  [virtual]

Implements SCTPAlgorithm.

00052 {
00053 }

void SCTPAlg::processTimer ( cMessage *  timer,
SCTPEventCode event 
) [virtual]

Implements SCTPAlgorithm.

00056 {
00057     // no extra timers in this SCTP variant
00058 }

void SCTPAlg::sendCommandInvoked ( IPvXAddress  addr  )  [virtual]

Implements SCTPAlgorithm.

00061 {
00062 
00063         sctpEV3<<"SCTPAlg: sendAll to "<<addr<<"\n";
00064         assoc->sendAll(addr);
00065 }

void SCTPAlg::receivedDataAck ( uint32  firstSeqAcked  )  [virtual]

Implements SCTPAlgorithm.

00069 {
00070 
00071 }

void SCTPAlg::receivedDuplicateAck (  )  [virtual]

Implements SCTPAlgorithm.

00074 {
00075     sctpEV3 << "Duplicate ACK #\n";
00076 }

void SCTPAlg::receivedAckForDataNotYetSent ( uint32  seq  )  [virtual]

Implements SCTPAlgorithm.

00079 {
00080     sctpEV3 << "ACK acks something not yet sent, sending immediate ACK\n";
00081 
00082 }

void SCTPAlg::sackSent (  )  [virtual]

Implements SCTPAlgorithm.

00085 {
00086 }

void SCTPAlg::dataSent ( uint32  fromseq  )  [virtual]

Implements SCTPAlgorithm.

00089 {
00090 }


Member Data Documentation

Referenced by createStateVariables(), and SCTPAlg().


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

Generated on Fri Mar 20 18:51:21 2009 for INET Framework for OMNeT++/OMNEST by  doxygen 1.5.5