Class PRUDPPacketReplyError
- java.lang.Object
-
- com.biglybt.net.udp.uc.PRUDPPacket
-
- com.biglybt.net.udp.uc.PRUDPPacketReply
-
- com.biglybt.core.tracker.protocol.udp.PRUDPPacketReplyError
-
public class PRUDPPacketReplyError extends PRUDPPacketReply
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
message
-
Fields inherited from class com.biglybt.net.udp.uc.PRUDPPacketReply
PR_HEADER_SIZE
-
Fields inherited from class com.biglybt.net.udp.uc.PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE
-
-
Constructor Summary
Constructors Modifier Constructor Description PRUDPPacketReplyError(int trans_id, java.lang.String _message)
protected
PRUDPPacketReplyError(java.io.DataInputStream is, int trans_id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
java.lang.String
getString()
void
serialise(java.io.DataOutputStream os)
-
Methods inherited from class com.biglybt.net.udp.uc.PRUDPPacketReply
deserialiseReply, registerDecoders
-
Methods inherited from class com.biglybt.net.udp.uc.PRUDPPacket
getAction, getAddress, getMinimumProtocolVersion, getPreviousPacket, getSerialisedSize, getTransactionId, hasContinuation, setAddress, setPreviousPacket, setSerialisedSize
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
-
serialise
public void serialise(java.io.DataOutputStream os) throws java.io.IOException
- Overrides:
serialise
in classPRUDPPacketReply
- Throws:
java.io.IOException
-
getString
public java.lang.String getString()
- Overrides:
getString
in classPRUDPPacketReply
-
-