udt.packets
Class MessageDropRequest

java.lang.Object
  extended by udt.packets.ControlPacket
      extended by udt.packets.MessageDropRequest
All Implemented Interfaces:
Comparable<UDTPacket>, UDTPacket

public class MessageDropRequest
extends ControlPacket


Nested Class Summary
 
Nested classes/interfaces inherited from class udt.packets.ControlPacket
ControlPacket.ControlPacketType
 
Field Summary
 
Fields inherited from class udt.packets.ControlPacket
ackSequenceNumber, controlInformation, controlPacketType, destinationID, messageNumber, timeStamp
 
Constructor Summary
MessageDropRequest()
           
MessageDropRequest(byte[] controlInformation)
           
 
Method Summary
 byte[] encodeControlInformation()
          this method builds the control information from the control parameters
 boolean equals(Object obj)
           
 long getMsgFirstSeqNo()
           
 long getMsgLastSeqNo()
           
 void setMsgFirstSeqNo(long msgFirstSeqNo)
           
 void setMsgLastSeqNo(long msgLastSeqNo)
           
 
Methods inherited from class udt.packets.ControlPacket
compareTo, forSender, getAckSequenceNumber, getControlPacketType, getDestinationID, getEncoded, getHeader, getMessageNumber, getPacketSequenceNumber, getSession, getTimeStamp, isConnectionHandshake, isControlPacket, setAckSequenceNumber, setDestinationID, setMessageNumber, setSession, setTimeStamp
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageDropRequest

public MessageDropRequest()

MessageDropRequest

public MessageDropRequest(byte[] controlInformation)
Method Detail

getMsgFirstSeqNo

public long getMsgFirstSeqNo()

setMsgFirstSeqNo

public void setMsgFirstSeqNo(long msgFirstSeqNo)

getMsgLastSeqNo

public long getMsgLastSeqNo()

setMsgLastSeqNo

public void setMsgLastSeqNo(long msgLastSeqNo)

encodeControlInformation

public byte[] encodeControlInformation()
Description copied from class: ControlPacket
this method builds the control information from the control parameters

Specified by:
encodeControlInformation in class ControlPacket
Returns:

equals

public boolean equals(Object obj)
Overrides:
equals in class ControlPacket


Copyright © 2013 LittleShoot. All Rights Reserved.