类 SendEvent
java.lang.Object
link.thingscloud.freeswitch.esl.transport.SendEvent
SendEvent class.
- 版本:
- 1.0.0
- 作者:
- : zhouhailin
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
SendEvent
Constructor for use with outbound socket client only. This client mode does not need a call UUID for context.- 参数:
name- part of line
-
-
方法详细资料
-
addLine
A generic method to add a message line. The constructed line in the sent message will be in the form:name: value
- 参数:
name- part of linevalue- part of line- 返回:
- a
SendEventobject.
-
addBody
A generic method to add a message line. The constructed line in the sent message will be in the form:name: value
- 参数:
line- part of line
-
getMsgLines
The list of strings that make up the message to send to FreeSWITCH.- 返回:
- list of strings, as they were added to this message.
-
toString
-