udt.packets
Class Shutdown
java.lang.Object
udt.packets.ControlPacket
udt.packets.Shutdown
- All Implemented Interfaces:
- Comparable<UDTPacket>, UDTPacket
public class Shutdown
- extends ControlPacket
| 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 |
Shutdown
public Shutdown()
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.