PRUDPPacketReplyErrorpublic class PRUDPPacketReplyError extends com.aelitis.net.udp.uc.PRUDPPacketReply
Fields Summary |
---|
protected String | message |
Constructors Summary |
---|
public PRUDPPacketReplyError(int trans_id, String _message)
super( PRUDPPacketTracker.ACT_REPLY_ERROR, trans_id );
message = _message;
| protected PRUDPPacketReplyError(DataInputStream is, int trans_id)
super( PRUDPPacketTracker.ACT_REPLY_ERROR, trans_id );
int avail = is.available();
byte[] data = new byte[avail];
is.read( data );
message = new String( data );
|
Methods Summary |
---|
public java.lang.String | getMessage()
return( message );
| public java.lang.String | getString()
return( super.getString().concat(",[msg=").concat(message).concat("]"));
| public void | serialise(java.io.DataOutputStream os)
super.serialise(os);
byte[] data = message.getBytes();
os.write( data );
|
|