org.mobicents.protocols.mgcp.utils
Class PacketRepresentation
java.lang.Object
org.mobicents.protocols.mgcp.utils.PacketRepresentation
public class PacketRepresentation
- extends Object
Start time:13:36:13 2008-11-22
Project: mobicents-media-server-controllers
Simple packet representation, has byte[] raw data and remote port/address
fields
- Author:
- baranowb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PacketRepresentation
protected PacketRepresentation(int byteArrSize,
PacketRepresentationFactory prFactory)
getBuffer
public ByteBuffer getBuffer()
getRawData
public byte[] getRawData()
getLength
public int getLength()
getRemotePort
public int getRemotePort()
setLength
public void setLength(int length)
getRemoteAddress
public InetAddress getRemoteAddress()
getInetAddress
public InetSocketAddress getInetAddress()
setRemoteAddress
public void setRemoteAddress(InetSocketAddress remoteAddress)
release
public void release()
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.