|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.mgcp.message.MgcpMessage
org.mobicents.media.server.mgcp.message.MgcpRequest
public class MgcpRequest
Implements MGCP request message.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.media.server.mgcp.message.MgcpMessage |
|---|
AUDIT_CONNECTION, AUDIT_ENDPOINT, CREATE_CONNECTION, DELETE_CONNECTION, MODIFY_CONNECTION, NOTIFY, REQUEST_NOTIFICATION |
| Constructor Summary | |
|---|---|
MgcpRequest()
|
|
| Method Summary | |
|---|---|
void |
clean()
Clean parameters. |
Text |
getCommand()
Get the command carried by the message. |
Text |
getEndpoint()
Get endpoint parameter of the request. |
Parameter |
getParameter(Text key)
Gets the requested parameter. |
int |
getTxID()
Gets the transaction identifier. |
protected void |
parse(byte[] buff,
int offset,
int len)
|
void |
setCommand(Text command)
Assign command for this message. |
void |
setEndpoint(Text endpointID)
Assign endpoint identifier. |
void |
setParameter(Text key,
Text value)
Assigns parameter. |
void |
setTxID(int txID)
Assigns transaction identifier. |
void |
strain(byte[] buff,
int offset,
int len)
|
String |
toString()
|
void |
write(ByteBuffer buffer)
|
| Methods inherited from class org.mobicents.media.server.mgcp.message.MgcpMessage |
|---|
getType, read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MgcpRequest()
| Method Detail |
|---|
public Text getCommand()
public void setCommand(Text command)
command - the command identifier.public Text getEndpoint()
public void setEndpoint(Text endpointID)
endpointID - the fully qualified name of the endpoint.public int getTxID()
getTxID in class MgcpMessagepublic void setTxID(int txID)
txID - transaction identifier.public Parameter getParameter(Text key)
key - the key identifier of the parameter
public void setParameter(Text key,
Text value)
p - the parameter.
public void strain(byte[] buff,
int offset,
int len)
protected void parse(byte[] buff,
int offset,
int len)
parse in class MgcpMessagepublic void write(ByteBuffer buffer)
write in class MgcpMessagepublic void clean()
clean in class MgcpMessagepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||