org.mobicents.media.server.impl.rtp
Class BufferFactory

java.lang.Object
  extended by org.mobicents.media.server.impl.rtp.BufferFactory
All Implemented Interfaces:
java.io.Serializable, org.mobicents.media.BufferFactory

public class BufferFactory
extends java.lang.Object
implements java.io.Serializable, org.mobicents.media.BufferFactory

Author:
kulikov
See Also:
Serialized Form

Constructor Summary
BufferFactory(int size, java.lang.String name)
           
BufferFactory(int size, java.lang.String name, int buffSize)
           
 
Method Summary
 org.mobicents.media.Buffer allocate()
           
 org.mobicents.media.Buffer allocate(boolean wantRtpHeader)
           
 void deallocate(org.mobicents.media.Buffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferFactory

public BufferFactory(int size,
                     java.lang.String name,
                     int buffSize)

BufferFactory

public BufferFactory(int size,
                     java.lang.String name)
Method Detail

allocate

public org.mobicents.media.Buffer allocate(boolean wantRtpHeader)

allocate

public org.mobicents.media.Buffer allocate()

deallocate

public void deallocate(org.mobicents.media.Buffer buffer)
Specified by:
deallocate in interface org.mobicents.media.BufferFactory


Copyright © 2009. All Rights Reserved.