org.lastbamboo.common.sip.stack.codec.decoder
Class SipMessageDecoder
java.lang.Object
org.lastbamboo.common.sip.stack.codec.decoder.SipMessageDecoder
- All Implemented Interfaces:
- org.littleshoot.mina.filter.codec.ProtocolDecoder
public class SipMessageDecoder
- extends Object
- implements org.littleshoot.mina.filter.codec.ProtocolDecoder
Decodes SIP messages.
|
Constructor Summary |
SipMessageDecoder()
Creates a new instance with the current default Charset
and LineDelimiter.AUTO delimiter. |
|
Method Summary |
void |
decode(org.littleshoot.mina.common.IoSession session,
org.littleshoot.mina.common.ByteBuffer in,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
|
void |
dispose(org.littleshoot.mina.common.IoSession session)
|
void |
finishDecode(org.littleshoot.mina.common.IoSession session,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SipMessageDecoder
public SipMessageDecoder()
- Creates a new instance with the current default
Charset
and LineDelimiter.AUTO delimiter.
decode
public void decode(org.littleshoot.mina.common.IoSession session,
org.littleshoot.mina.common.ByteBuffer in,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
- Specified by:
decode in interface org.littleshoot.mina.filter.codec.ProtocolDecoder
- Throws:
Exception
finishDecode
public void finishDecode(org.littleshoot.mina.common.IoSession session,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
- Specified by:
finishDecode in interface org.littleshoot.mina.filter.codec.ProtocolDecoder
- Throws:
Exception
dispose
public void dispose(org.littleshoot.mina.common.IoSession session)
throws Exception
- Specified by:
dispose in interface org.littleshoot.mina.filter.codec.ProtocolDecoder
- Throws:
Exception
Copyright © 2013 LittleShoot. All Rights Reserved.