Package com.opencloud.sentinel.multileg
Class SipMessageCodec
- java.lang.Object
-
- com.opencloud.sentinel.multileg.SipMessageCodec
-
- All Implemented Interfaces:
com.opencloud.rhino.cmp.codecs.DatatypeCodec<org.jainslee.resources.sip.SipMessage>
public class SipMessageCodec extends java.lang.Object implements com.opencloud.rhino.cmp.codecs.DatatypeCodec<org.jainslee.resources.sip.SipMessage>
ADatatypeCodec
forSipMessages
.
-
-
Constructor Summary
Constructors Constructor Description SipMessageCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jainslee.resources.sip.SipMessage
decode(java.io.DataInput in, java.lang.ClassLoader cl, com.opencloud.rhino.cmp.codecs.DecoderUtils utils)
void
encode(org.jainslee.resources.sip.SipMessage value, java.io.DataOutput out, com.opencloud.rhino.cmp.codecs.EncoderUtils utils)
-
-
-
Method Detail
-
encode
public void encode(org.jainslee.resources.sip.SipMessage value, java.io.DataOutput out, com.opencloud.rhino.cmp.codecs.EncoderUtils utils) throws java.io.IOException
- Specified by:
encode
in interfacecom.opencloud.rhino.cmp.codecs.DatatypeCodec<org.jainslee.resources.sip.SipMessage>
- Throws:
java.io.IOException
-
decode
public org.jainslee.resources.sip.SipMessage decode(java.io.DataInput in, java.lang.ClassLoader cl, com.opencloud.rhino.cmp.codecs.DecoderUtils utils) throws java.io.IOException
- Specified by:
decode
in interfacecom.opencloud.rhino.cmp.codecs.DatatypeCodec<org.jainslee.resources.sip.SipMessage>
- Throws:
java.io.IOException
-
-