INET Framework for OMNeT++/OMNEST
ISISPTPHelloPacket Class Reference

#include <ISISMessage_m.h>

Inheritance diagram for ISISPTPHelloPacket:
ISISMessage

List of all members.

Public Member Functions

 ISISPTPHelloPacket (const char *name=NULL, int kind=0)
 ISISPTPHelloPacket (const ISISPTPHelloPacket &other)
virtual ~ISISPTPHelloPacket ()
ISISPTPHelloPacketoperator= (const ISISPTPHelloPacket &other)
virtual ISISPTPHelloPacketdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual unsigned char getCircuitType () const
virtual void setCircuitType (unsigned char circuitType)
virtual unsigned int getSourceIDArraySize () const
virtual unsigned char getSourceID (unsigned int k) const
virtual void setSourceID (unsigned int k, unsigned char sourceID)
virtual unsigned short getHoldTime () const
virtual void setHoldTime (unsigned short holdTime)
virtual unsigned short getPduLength () const
virtual void setPduLength (unsigned short pduLength)
virtual unsigned char getLocalCircuitID () const
virtual void setLocalCircuitID (unsigned char localCircuitID)

Protected Member Functions

bool operator== (const ISISPTPHelloPacket &)

Protected Attributes

unsigned char circuitType_var
unsigned char sourceID_var [6]
unsigned short holdTime_var
unsigned short pduLength_var
unsigned char localCircuitID_var

Private Member Functions

void copy (const ISISPTPHelloPacket &other)

Detailed Description

Class generated from ansa/isis/ISISMessage.msg by opp_msgc.

 packet ISISPTPHelloPacket extends ISISMessage
 {
     type = PTP_HELLO;								
 	unsigned char circuitType enum(CIRCUIT_TYPES);	
 	unsigned char sourceID[6];						
 	unsigned short holdTime;						
 	unsigned short pduLength;						
 	unsigned char localCircuitID;
 }
 

Definition at line 363 of file ISISMessage_m.h.


Constructor & Destructor Documentation

ISISPTPHelloPacket::ISISPTPHelloPacket ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().


Member Function Documentation

void ISISPTPHelloPacket::copy ( const ISISPTPHelloPacket other) [private]
virtual ISISPTPHelloPacket* ISISPTPHelloPacket::dup ( ) const [inline, virtual]

Reimplemented from ISISMessage.

Definition at line 384 of file ISISMessage_m.h.

{return new ISISPTPHelloPacket(*this);}
virtual unsigned char ISISPTPHelloPacket::getCircuitType ( ) const [virtual]

Referenced by ISIS::handlePTPHelloMsg().

virtual unsigned short ISISPTPHelloPacket::getHoldTime ( ) const [virtual]

Referenced by ISIS::handlePTPHelloMsg().

virtual unsigned char ISISPTPHelloPacket::getLocalCircuitID ( ) const [virtual]
virtual unsigned short ISISPTPHelloPacket::getPduLength ( ) const [virtual]
virtual unsigned char ISISPTPHelloPacket::getSourceID ( unsigned int  k) const [virtual]
virtual unsigned int ISISPTPHelloPacket::getSourceIDArraySize ( ) const [virtual]
ISISPTPHelloPacket& ISISPTPHelloPacket::operator= ( const ISISPTPHelloPacket other)
bool ISISPTPHelloPacket::operator== ( const ISISPTPHelloPacket ) [protected]
virtual void ISISPTPHelloPacket::parsimPack ( cCommBuffer *  b) [virtual]

Reimplemented from ISISMessage.

Referenced by doPacking().

virtual void ISISPTPHelloPacket::parsimUnpack ( cCommBuffer *  b) [virtual]

Reimplemented from ISISMessage.

Referenced by doUnpacking().

virtual void ISISPTPHelloPacket::setCircuitType ( unsigned char  circuitType) [virtual]

Referenced by ISIS::sendPTPHelloMsg().

virtual void ISISPTPHelloPacket::setHoldTime ( unsigned short  holdTime) [virtual]

Referenced by ISIS::sendPTPHelloMsg().

virtual void ISISPTPHelloPacket::setLocalCircuitID ( unsigned char  localCircuitID) [virtual]

Referenced by ISIS::sendPTPHelloMsg().

virtual void ISISPTPHelloPacket::setPduLength ( unsigned short  pduLength) [virtual]
virtual void ISISPTPHelloPacket::setSourceID ( unsigned int  k,
unsigned char  sourceID 
) [virtual]

Referenced by ISIS::sendPTPHelloMsg().


Member Data Documentation

unsigned char ISISPTPHelloPacket::circuitType_var [protected]

Definition at line 366 of file ISISMessage_m.h.

unsigned short ISISPTPHelloPacket::holdTime_var [protected]

Definition at line 368 of file ISISMessage_m.h.

unsigned char ISISPTPHelloPacket::localCircuitID_var [protected]

Definition at line 370 of file ISISMessage_m.h.

unsigned short ISISPTPHelloPacket::pduLength_var [protected]

Definition at line 369 of file ISISMessage_m.h.

unsigned char ISISPTPHelloPacket::sourceID_var[6] [protected]

Definition at line 367 of file ISISMessage_m.h.


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