org.apache.asn1.codec.mina
Class Asn1CodecDecoder
java.lang.Object
org.apache.asn1.codec.mina.Asn1CodecDecoder
- All Implemented Interfaces:
- org.apache.mina.protocol.ProtocolDecoder
- public class Asn1CodecDecoder
- extends java.lang.Object
- implements org.apache.mina.protocol.ProtocolDecoder
Adapts StatefulDecoder
to MINA ProtocolDecoder
- Version:
- $Rev: 161723 $, $Date: 2005-04-18 06:10:12 +0200 (Mon, 18 Apr 2005) $,
- Author:
- Trustin Lee (trustin@apache.org)
Method Summary |
void |
decode(org.apache.mina.protocol.ProtocolSession session,
org.apache.mina.common.ByteBuffer in,
org.apache.mina.protocol.ProtocolDecoderOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decoder
private final StatefulDecoder decoder
callback
private final Asn1CodecDecoder.DecoderCallbackImpl callback
Asn1CodecDecoder
public Asn1CodecDecoder(StatefulDecoder decoder)
decode
public void decode(org.apache.mina.protocol.ProtocolSession session,
org.apache.mina.common.ByteBuffer in,
org.apache.mina.protocol.ProtocolDecoderOutput out)
throws org.apache.mina.protocol.ProtocolViolationException
- Specified by:
decode
in interface org.apache.mina.protocol.ProtocolDecoder
- Throws:
org.apache.mina.protocol.ProtocolViolationException
Copyright © 2004-2006 . All Rights Reserved.