org.apache.mina.protocol.codec
Class MessageDecoderResult

java.lang.Object
  extended by org.apache.mina.protocol.codec.MessageDecoderResult

public class MessageDecoderResult
extends Object

Represents results from MessageDecoder.

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

Field Summary
static MessageDecoderResult NEED_DATA
          Represents a result from MessageDecoder.decodable(ProtocolSession, ByteBuffer) and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput).
static MessageDecoderResult NOT_OK
          Represents a result from MessageDecoder.decodable(ProtocolSession, ByteBuffer) and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput).
static MessageDecoderResult OK
          Represents a result from MessageDecoder.decodable(ProtocolSession, ByteBuffer) and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput).
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OK

public static MessageDecoderResult OK
Represents a result from MessageDecoder.decodable(ProtocolSession, ByteBuffer) and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput). Please refer to each method's documentation for detailed explanation.


NEED_DATA

public static MessageDecoderResult NEED_DATA
Represents a result from MessageDecoder.decodable(ProtocolSession, ByteBuffer) and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput). Please refer to each method's documentation for detailed explanation.


NOT_OK

public static MessageDecoderResult NOT_OK
Represents a result from MessageDecoder.decodable(ProtocolSession, ByteBuffer) and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput). Please refer to each method's documentation for detailed explanation.

Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2005 . All Rights Reserved.