org.apache.mina.protocol
Class SimpleProtocolDecoderOutput

java.lang.Object
  extended by org.apache.mina.protocol.SimpleProtocolDecoderOutput
All Implemented Interfaces:
ProtocolDecoderOutput

public class SimpleProtocolDecoderOutput
extends Object
implements ProtocolDecoderOutput

A ProtocolDecoderOutput based on queue.

Version:
$Rev: 332218 $, $Date: 2005-11-10 12:52:42 +0900 $
Author:
The Apache Directory Project (dev@directory.apache.org)

Constructor Summary
SimpleProtocolDecoderOutput()
           
 
Method Summary
 Queue getMessageQueue()
           
 void write(Object message)
          Callback for ProtocolDecoder to generate decoded messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleProtocolDecoderOutput

public SimpleProtocolDecoderOutput()
Method Detail

getMessageQueue

public Queue getMessageQueue()

write

public void write(Object message)
Description copied from interface: ProtocolDecoderOutput
Callback for ProtocolDecoder to generate decoded messages. ProtocolDecoder must call ProtocolDecoderOutput.write(Object) for each decoded messages.

Specified by:
write in interface ProtocolDecoderOutput
Parameters:
message - the decoded message


Copyright © 2004-2005 . All Rights Reserved.