Coalevo Logo

net.coalevo.empp.io
Class EMPPDecoder

java.lang.Object
  extended by net.coalevo.empp.io.EMPPDecoder
All Implemented Interfaces:
org.apache.mina.filter.codec.ProtocolDecoder

public class EMPPDecoder
extends java.lang.Object
implements org.apache.mina.filter.codec.ProtocolDecoder

Provides a ProtocolDecoder for EMPP.

Version:
0.0.1 (31/01/2009)
Author:
Dieter Wimberger (coalevo)

Field Summary
static java.lang.String INPUT_BUFFER
           
 
Constructor Summary
EMPPDecoder()
           
 
Method Summary
 void decode(org.apache.mina.common.IoSession ioSession, org.apache.mina.common.ByteBuffer byteBuffer, org.apache.mina.filter.codec.ProtocolDecoderOutput protocolDecoderOutput)
           
 void dispose(org.apache.mina.common.IoSession ioSession)
           
 void finishDecode(org.apache.mina.common.IoSession ioSession, org.apache.mina.filter.codec.ProtocolDecoderOutput protocolDecoderOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPUT_BUFFER

public static final java.lang.String INPUT_BUFFER
See Also:
Constant Field Values
Constructor Detail

EMPPDecoder

public EMPPDecoder()
Method Detail

decode

public void decode(org.apache.mina.common.IoSession ioSession,
                   org.apache.mina.common.ByteBuffer byteBuffer,
                   org.apache.mina.filter.codec.ProtocolDecoderOutput protocolDecoderOutput)
            throws java.lang.Exception
Specified by:
decode in interface org.apache.mina.filter.codec.ProtocolDecoder
Throws:
java.lang.Exception

finishDecode

public void finishDecode(org.apache.mina.common.IoSession ioSession,
                         org.apache.mina.filter.codec.ProtocolDecoderOutput protocolDecoderOutput)
                  throws java.lang.Exception
Specified by:
finishDecode in interface org.apache.mina.filter.codec.ProtocolDecoder
Throws:
java.lang.Exception

dispose

public void dispose(org.apache.mina.common.IoSession ioSession)
             throws java.lang.Exception
Specified by:
dispose in interface org.apache.mina.filter.codec.ProtocolDecoder
Throws:
java.lang.Exception

Coalevo Logo

(c) 2004-2009 VFI (http://www.vfi.or.at)