public abstract class MgcpMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
data |
protected Parameters<MgcpParameterType> |
parameters |
protected int |
transactionId |
| Constructor and Description |
|---|
MgcpMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(MgcpParameterType type,
String value) |
String |
getParameter(MgcpParameterType type) |
Parameters<MgcpParameterType> |
getParameters() |
int |
getTransactionId() |
boolean |
hasParameter(MgcpParameterType type) |
abstract boolean |
isRequest() |
boolean |
isSdpDetected() |
void |
removeParameter(MgcpParameterType type) |
void |
removeParameters() |
void |
setTransactionId(int transactionId) |
abstract String |
toString() |
protected int transactionId
protected final Parameters<MgcpParameterType> parameters
protected final ByteBuffer data
public int getTransactionId()
public void setTransactionId(int transactionId)
public boolean isSdpDetected()
public Parameters<MgcpParameterType> getParameters()
public String getParameter(MgcpParameterType type)
public boolean hasParameter(MgcpParameterType type)
public void addParameter(MgcpParameterType type, String value)
public void removeParameter(MgcpParameterType type)
public void removeParameters()
public abstract boolean isRequest()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.