org.sapia.ubik.rmi.server.transport.nio.tcp
Class NioRequestDecoder

java.lang.Object
  extended by org.apache.mina.filter.codec.ProtocolDecoderAdapter
      extended by org.apache.mina.filter.codec.CumulativeProtocolDecoder
          extended by org.sapia.ubik.rmi.server.transport.nio.tcp.NioRequestDecoder
All Implemented Interfaces:
org.apache.mina.filter.codec.ProtocolDecoder

public class NioRequestDecoder
extends org.apache.mina.filter.codec.CumulativeProtocolDecoder

A decoder for incoming Ubik client requests.

Author:
yduchesne

Constructor Summary
NioRequestDecoder()
           
 
Method Summary
protected  boolean doDecode(org.apache.mina.common.IoSession sess, org.apache.mina.common.ByteBuffer buf, org.apache.mina.filter.codec.ProtocolDecoderOutput output)
           
 
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
 

Constructor Detail

NioRequestDecoder

public NioRequestDecoder()
Method Detail

doDecode

protected boolean doDecode(org.apache.mina.common.IoSession sess,
                           org.apache.mina.common.ByteBuffer buf,
                           org.apache.mina.filter.codec.ProtocolDecoderOutput output)
                    throws java.lang.Exception
Specified by:
doDecode in class org.apache.mina.filter.codec.CumulativeProtocolDecoder
Throws:
java.lang.Exception


Copyright © 2010 Sapia OSS. All Rights Reserved.