org.gudy.azureus2.core3.tracker.protocol.udp
Class PRUDPPacketReplyError

java.lang.Object
  extended by com.aelitis.net.udp.uc.PRUDPPacket
      extended by com.aelitis.net.udp.uc.PRUDPPacketReply
          extended by org.gudy.azureus2.core3.tracker.protocol.udp.PRUDPPacketReplyError

public class PRUDPPacketReplyError
extends PRUDPPacketReply


Field Summary
protected  String message
           
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacketReply
PR_HEADER_SIZE
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE
 
Constructor Summary
protected PRUDPPacketReplyError(DataInputStream is, int trans_id)
           
  PRUDPPacketReplyError(int trans_id, String _message)
           
 
Method Summary
 String getMessage()
           
 String getString()
           
 void serialise(DataOutputStream os)
           
 
Methods inherited from class com.aelitis.net.udp.uc.PRUDPPacketReply
deserialiseReply, registerDecoders
 
Methods inherited from class com.aelitis.net.udp.uc.PRUDPPacket
getAction, getAddress, getPreviousPacket, getSerialisedSize, getTransactionId, hasContinuation, setAddress, setPreviousPacket, setSerialisedSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected String message
Constructor Detail

PRUDPPacketReplyError

public PRUDPPacketReplyError(int trans_id,
                             String _message)

PRUDPPacketReplyError

protected PRUDPPacketReplyError(DataInputStream is,
                                int trans_id)
                         throws IOException
Throws:
IOException
Method Detail

getMessage

public String getMessage()

serialise

public void serialise(DataOutputStream os)
               throws IOException
Overrides:
serialise in class PRUDPPacketReply
Throws:
IOException

getString

public String getString()
Overrides:
getString in class PRUDPPacketReply