|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.freeswitch.esl.client.transport.SendMsg
public class SendMsg
| Constructor Summary | |
|---|---|
SendMsg()
Constructor for use with outbound socket client only. |
|
SendMsg(String uuid)
Constructor for use with the inbound client. |
|
| Method Summary | |
|---|---|
void |
addCallCommand(String command)
Adds the following line to the message: |
void |
addEventLock()
Adds the following line to the message: |
void |
addExecuteAppArg(String arg)
Adds the following line to the message: |
void |
addExecuteAppName(String appName)
Adds the following line to the message: |
void |
addGenericLine(String name,
String value)
A generic method to add a message line. |
void |
addHangupCause(String cause)
Adds the following line to the message: |
void |
addLoops(int count)
Adds the following line to the message: |
void |
addNomediaUuid(String value)
Adds the following line to the message: |
List<String> |
getMsgLines()
The list of strings that make up the message to send to FreeSWITCH. |
boolean |
hasUuid()
Indicate if message was constructed with a UUID. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SendMsg()
public SendMsg(String uuid)
uuid - of the call to send message to (it should be in 'park' to be operated on).| Method Detail |
|---|
public void addCallCommand(String command)
call-command: command
command - the string command [ execute | hangup ]public void addExecuteAppName(String appName)
execute-app-name: appName
appName - the string app name to executepublic void addExecuteAppArg(String arg)
execute-app-arg: arg
arg - the string argpublic void addLoops(int count)
loops: count
count - the int number of times to looppublic void addHangupCause(String cause)
hangup-cause: cause
cause - the string causepublic void addNomediaUuid(String value)
nomedia-uid: value
value - the string value part of the linepublic void addEventLock()
event-lock: true
public void addGenericLine(String name,
String value)
name: value
name - part of linevalue - part of linepublic List<String> getMsgLines()
public boolean hasUuid()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||