org.gudy.azureus2.pluginsimpl.local.messaging
Class MessageStreamEncoderAdapter

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.messaging.MessageStreamEncoderAdapter
All Implemented Interfaces:
MessageStreamEncoder

public class MessageStreamEncoderAdapter
extends java.lang.Object
implements MessageStreamEncoder


Constructor Summary
MessageStreamEncoderAdapter(MessageStreamEncoder plug_encoder)
           
 
Method Summary
 RawMessage[] encodeMessage(Message message)
          Encode the given message into the raw message output stream format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageStreamEncoderAdapter

public MessageStreamEncoderAdapter(MessageStreamEncoder plug_encoder)
Method Detail

encodeMessage

public RawMessage[] encodeMessage(Message message)
Description copied from interface: MessageStreamEncoder
Encode the given message into the raw message output stream format.

Specified by:
encodeMessage in interface MessageStreamEncoder
Parameters:
message - to encode
Returns:
raw messages encoding