org.mobicents.slee.resource.sip11
Class SipMarshaler

java.lang.Object
  extended by org.mobicents.slee.resource.sip11.SipMarshaler
All Implemented Interfaces:
javax.slee.resource.Marshaler

public class SipMarshaler
extends java.lang.Object
implements javax.slee.resource.Marshaler

Author:
martins

Constructor Summary
SipMarshaler()
           
 
Method Summary
 int getEstimatedEventSize(javax.slee.resource.FireableEventType arg0, java.lang.Object arg1)
           
 int getEstimatedHandleSize(javax.slee.resource.ActivityHandle arg0)
           
 java.nio.ByteBuffer getEventBuffer(javax.slee.resource.FireableEventType arg0, java.lang.Object arg1)
           
 void marshalEvent(javax.slee.resource.FireableEventType arg0, java.lang.Object arg1, java.io.DataOutput arg2)
           
 void marshalHandle(javax.slee.resource.ActivityHandle arg0, java.io.DataOutput arg1)
           
 void releaseEventBuffer(javax.slee.resource.FireableEventType arg0, java.lang.Object arg1, java.nio.ByteBuffer arg2)
           
 java.lang.Object unmarshalEvent(javax.slee.resource.FireableEventType arg0, java.io.DataInput arg1)
           
 javax.slee.resource.ActivityHandle unmarshalHandle(java.io.DataInput arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipMarshaler

public SipMarshaler()
Method Detail

getEstimatedEventSize

public int getEstimatedEventSize(javax.slee.resource.FireableEventType arg0,
                                 java.lang.Object arg1)
Specified by:
getEstimatedEventSize in interface javax.slee.resource.Marshaler

getEstimatedHandleSize

public int getEstimatedHandleSize(javax.slee.resource.ActivityHandle arg0)
Specified by:
getEstimatedHandleSize in interface javax.slee.resource.Marshaler

getEventBuffer

public java.nio.ByteBuffer getEventBuffer(javax.slee.resource.FireableEventType arg0,
                                          java.lang.Object arg1)
Specified by:
getEventBuffer in interface javax.slee.resource.Marshaler

marshalEvent

public void marshalEvent(javax.slee.resource.FireableEventType arg0,
                         java.lang.Object arg1,
                         java.io.DataOutput arg2)
                  throws java.io.IOException
Specified by:
marshalEvent in interface javax.slee.resource.Marshaler
Throws:
java.io.IOException

marshalHandle

public void marshalHandle(javax.slee.resource.ActivityHandle arg0,
                          java.io.DataOutput arg1)
                   throws java.io.IOException
Specified by:
marshalHandle in interface javax.slee.resource.Marshaler
Throws:
java.io.IOException

releaseEventBuffer

public void releaseEventBuffer(javax.slee.resource.FireableEventType arg0,
                               java.lang.Object arg1,
                               java.nio.ByteBuffer arg2)
Specified by:
releaseEventBuffer in interface javax.slee.resource.Marshaler

unmarshalEvent

public java.lang.Object unmarshalEvent(javax.slee.resource.FireableEventType arg0,
                                       java.io.DataInput arg1)
                                throws java.io.IOException
Specified by:
unmarshalEvent in interface javax.slee.resource.Marshaler
Throws:
java.io.IOException

unmarshalHandle

public javax.slee.resource.ActivityHandle unmarshalHandle(java.io.DataInput arg0)
                                                   throws java.io.IOException
Specified by:
unmarshalHandle in interface javax.slee.resource.Marshaler
Throws:
java.io.IOException


Copyright © 2012. All Rights Reserved.