udt.packets
Class Shutdown

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

public class Shutdown
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
Shutdown()
           
 
Method Summary
 byte[] encodeControlInformation()
          this method builds the control information from the control parameters
 boolean forSender()
          return true if this packet should be routed to the UDTSender
 
Methods inherited from class udt.packets.ControlPacket
compareTo, equals, 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

Shutdown

public Shutdown()
Method Detail

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:

forSender

public boolean forSender()
Description copied from interface: UDTPacket
return true if this packet should be routed to the UDTSender

Specified by:
forSender in interface UDTPacket
Overrides:
forSender in class ControlPacket
Returns:


Copyright © 2013 LittleShoot. All Rights Reserved.