com.aelitis.net.udp.uc
Class PRUDPPacketRequest
java.lang.Object
com.aelitis.net.udp.uc.PRUDPPacket
com.aelitis.net.udp.uc.PRUDPPacketRequest
- Direct Known Subclasses:
- DHTUDPPacketRequest, NetworkAdminNATUDPRequest, PRUDPPacketRequestAnnounce, PRUDPPacketRequestAnnounce2, PRUDPPacketRequestConnect, PRUDPPacketRequestScrape, VersionCheckClientUDPRequest
public abstract class PRUDPPacketRequest
- extends PRUDPPacket
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PR_HEADER_SIZE
public static final int PR_HEADER_SIZE
- See Also:
- Constant Field Values
PRUDPPacketRequest
public PRUDPPacketRequest(int _action,
long _con_id)
PRUDPPacketRequest
protected PRUDPPacketRequest(int _action,
long _con_id,
int _trans_id)
registerDecoders
public static void registerDecoders(java.util.Map _decoders)
getConnectionId
public long getConnectionId()
getReceiveTime
public long getReceiveTime()
setReceiveTime
public void setReceiveTime(long _rt)
serialise
public void serialise(java.io.DataOutputStream os)
throws java.io.IOException
- Specified by:
serialise
in class PRUDPPacket
- Throws:
java.io.IOException
deserialiseRequest
public static PRUDPPacketRequest deserialiseRequest(PRUDPPacketHandler handler,
java.io.DataInputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
getString
public java.lang.String getString()
- Overrides:
getString
in class PRUDPPacket