gov.nist.antd.mpls.signaling.information
Class MPLSSignalingMessage

java.lang.Object
  |
  +--SSF.OS.ProtocolMessage
        |
        +--gov.nist.antd.mpls.signaling.information.MPLSSignalingMessage

public class MPLSSignalingMessage
extends ProtocolMessage

Shim Message Format.

 This class was developed at the National Institute of Standards and
 Technology by employees of the Federal Government and the Towson
 University by student in the course of their official duties.  Pursuant
 to title 17 Section 105 of the United  States Code this software is not
 subject to copyright protection and is in the public domain.
 NIST assumes no responsibility whatsoever for its use by other parties,
 and makes no guarantees, expressed or implied, about its quality,
 reliability, or any other characteristic.
 
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.

Author:
EunHyuk Lim (ehlim@antd.nist.gov, othree28@hotmail.com)
, borchert , rouil , Chul Kim

Field Summary
 int MessageID
          Field MessageID
 short MessageType
          STANDARD CLASS VARIABLES
 int nextHopIpaddr
          Field nextHopIpaddr - Next Hop IP address
 double packetDelay
          Field packetDelay - Packet Delay
 S_CRLDP peerCRLDP
          Field peerCRLDP - Peer Node's CR-LDP module
 double SendingTime
          Field SendingTime - Packet Sending time stamp
 MPLSSignalingInfo SigInfo
          Field SigInfo
 int StatusCode
          Field StatusCode
 long Time_stamp
          Non-STANDARD/InterNode Simulation CLASS VARIABLES
 
Fields inherited from class SSF.OS.ProtocolMessage
 
Constructor Summary
MPLSSignalingMessage()
          CONSTRUCTORS
MPLSSignalingMessage(MPLSSignalingInfo sinfo)
          Constructor MPLSSignalingMessage
MPLSSignalingMessage(short messagetype)
          Constructor MPLSSignalingMessage
MPLSSignalingMessage(short messagetype, MPLSSignalingInfo sinfo, int scode)
          Constructor MPLSSignalingMessage
 
Method Summary
 int bytecount()
          Returns the total number of bytes in this Shim packet.
 MPLSSignalingInfo getMPLSSignalingInfo()
          Method getMPLSSignalingInfo Return MPLS Signaling information
 int header_bytecount()
          Method header_bytecount
 java.lang.String toString()
          Method toString
 
Methods inherited from class SSF.OS.ProtocolMessage
carryPayload, copy, dropHeader, dropPayload, frombytes, fromVersion, payload, previous, size, tobytes, version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MessageType

public short MessageType
STANDARD CLASS VARIABLES


MessageID

public int MessageID
Field MessageID


SigInfo

public MPLSSignalingInfo SigInfo
Field SigInfo


StatusCode

public int StatusCode
Field StatusCode


Time_stamp

public long Time_stamp
Non-STANDARD/InterNode Simulation CLASS VARIABLES


peerCRLDP

public S_CRLDP peerCRLDP
Field peerCRLDP - Peer Node's CR-LDP module


packetDelay

public double packetDelay
Field packetDelay - Packet Delay


nextHopIpaddr

public int nextHopIpaddr
Field nextHopIpaddr - Next Hop IP address


SendingTime

public double SendingTime
Field SendingTime - Packet Sending time stamp

Constructor Detail

MPLSSignalingMessage

public MPLSSignalingMessage()
CONSTRUCTORS


MPLSSignalingMessage

public MPLSSignalingMessage(short messagetype)
Constructor MPLSSignalingMessage

Parameters:
messagetype -

MPLSSignalingMessage

public MPLSSignalingMessage(MPLSSignalingInfo sinfo)
Constructor MPLSSignalingMessage

Parameters:
sinfo -

MPLSSignalingMessage

public MPLSSignalingMessage(short messagetype,
                            MPLSSignalingInfo sinfo,
                            int scode)
Constructor MPLSSignalingMessage

Parameters:
messagetype -
sinfo -
scode -
Method Detail

getMPLSSignalingInfo

public MPLSSignalingInfo getMPLSSignalingInfo()
Method getMPLSSignalingInfo Return MPLS Signaling information

Returns:
MPLSSignalingInfo - XXX

toString

public java.lang.String toString()
Method toString

Overrides:
toString in class java.lang.Object
Returns:
String - XXX

header_bytecount

public int header_bytecount()
Method header_bytecount

Overrides:
header_bytecount in class ProtocolMessage
Returns:
int - XXX

bytecount

public int bytecount()
Returns the total number of bytes in this Shim packet.

Overrides:
bytecount in class ProtocolMessage