org.apache.mina.example.imagine.step1.codec
Class ImageResponseDecoder

java.lang.Object
  extended by org.apache.mina.filter.codec.ProtocolDecoderAdapter
      extended by org.apache.mina.filter.codec.CumulativeProtocolDecoder
          extended by org.apache.mina.example.imagine.step1.codec.ImageResponseDecoder
All Implemented Interfaces:
ProtocolDecoder

public class ImageResponseDecoder
extends CumulativeProtocolDecoder

a decoder for ImageResponse objects

Author:
Apache MINA Project

Field Summary
static int MAX_IMAGE_SIZE
           
 
Constructor Summary
ImageResponseDecoder()
           
 
Method Summary
protected  boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
 
Methods inherited from class org.apache.mina.filter.codec.CumulativeProtocolDecoder
decode, dispose
 
Methods inherited from class org.apache.mina.filter.codec.ProtocolDecoderAdapter
finishDecode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_IMAGE_SIZE

public static final int MAX_IMAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

ImageResponseDecoder

public ImageResponseDecoder()
Method Detail

doDecode

protected boolean doDecode(IoSession session,
                           IoBuffer in,
                           ProtocolDecoderOutput out)
                    throws java.lang.Exception
Specified by:
doDecode in class CumulativeProtocolDecoder
Throws:
java.lang.Exception


Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.