Sim.Routing.Champ
Class AckHeader

java.lang.Object
  extended by Sim.Routing.Champ.AckHeader
All Implemented Interfaces:
ProtocolFrame

public class AckHeader
extends java.lang.Object
implements ProtocolFrame


Constructor Summary
AckHeader(int sequenceNumber, int nodeAcking)
          Creates a new instance of AckHeader
 
Method Summary
 boolean equals(AckHeader other)
          equals()
 int getNodeAcking()
           
 int getSequenceNumber()
           
 int getSize()
          Returns the "serialized" size of this portion of the packet, in bytes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AckHeader

public AckHeader(int sequenceNumber,
                 int nodeAcking)
Creates a new instance of AckHeader

Method Detail

equals

public boolean equals(AckHeader other)
equals()


getSize

public int getSize()
Description copied from interface: ProtocolFrame
Returns the "serialized" size of this portion of the packet, in bytes.

Specified by:
getSize in interface ProtocolFrame

getSequenceNumber

public int getSequenceNumber()

getNodeAcking

public int getNodeAcking()