Methods Summary |
---|
public Message | deserialize(DirectByteBuffer data, byte version)
Map payload = MessagingUtil.convertBencodedByteStreamToPayload( data, 1, getID() );
return new AZGenericMapPayload( getID(), payload, version );
|
public void | destroy()
if( buffer != null ) buffer.returnToPool();
|
public DirectByteBuffer[] | getData()
if( buffer == null ) {
buffer = MessagingUtil.convertPayloadToBencodedByteStream( msg_map, DirectByteBuffer.AL_MSG );
}
return new DirectByteBuffer[]{ buffer };
|
public java.lang.String | getDescription() return getID();
|
public java.lang.String | getFeatureID() return AZMessage.AZ_FEATURE_ID;
|
public int | getFeatureSubID() return AZMessage.SUBID_AZ_GENERIC_MAP;
|
public java.lang.String | getID() return type_id;
|
public byte[] | getIDBytes() return type_id.getBytes();
|
public java.util.Map | getMapPayload() return msg_map;
|
public int | getType() return Message.TYPE_PROTOCOL_PAYLOAD;
|
public byte | getVersion() return version;
|