Class 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>
    A DatatypeCodec for SipMessages.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SipMessageCodec

        public SipMessageCodec()
    • 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 interface com.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 interface com.opencloud.rhino.cmp.codecs.DatatypeCodec<org.jainslee.resources.sip.SipMessage>
        Throws:
        java.io.IOException