net.sf.wallace.mina
Class IMAP4ProtocolDecoder

java.lang.Object
  extended by net.sf.wallace.mina.IMAP4ProtocolDecoder
All Implemented Interfaces:
org.apache.mina.protocol.ProtocolDecoder

public final class IMAP4ProtocolDecoder
extends Object
implements org.apache.mina.protocol.ProtocolDecoder

IMAP4 protocol decoder. TODO A command must be able to span multiple calls to decode().

Author:
rnewson

Constructor Summary
IMAP4ProtocolDecoder()
           
 
Method Summary
 void decode(org.apache.mina.protocol.ProtocolSession protocolSession, org.apache.mina.common.ByteBuffer buffer, org.apache.mina.protocol.ProtocolDecoderOutput output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMAP4ProtocolDecoder

public IMAP4ProtocolDecoder()
Method Detail

decode

public void decode(org.apache.mina.protocol.ProtocolSession protocolSession,
                   org.apache.mina.common.ByteBuffer buffer,
                   org.apache.mina.protocol.ProtocolDecoderOutput output)
            throws org.apache.mina.protocol.ProtocolViolationException
Specified by:
decode in interface org.apache.mina.protocol.ProtocolDecoder
Throws:
org.apache.mina.protocol.ProtocolViolationException


Copyright © 2004-2005 Robert Newson. All Rights Reserved.