类 CommandResponse
java.lang.Object
link.thingscloud.freeswitch.esl.transport.CommandResponse
CommandResponse class.
- 版本:
- 1.0.0
- 作者:
- : zhouhailin
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Getter for the fieldcommand.Getter for the fieldreplyText.Getter for the fieldresponse.booleanisOk()isOk.
-
构造器详细资料
-
CommandResponse
Constructor for CommandResponse.
- 参数:
command- aStringobject.response- aEslMessageobject.
-
-
方法详细资料
-
getCommand
Getter for the field
command.- 返回:
- the original command sent to the server
-
isOk
public boolean isOk()isOk.
- 返回:
- true if and only if the response Reply-Text line starts with "+OK"
-
getReplyText
Getter for the field
replyText.- 返回:
- the full response Reply-Text line.
-
getResponse
Getter for the field
response.- 返回:
EslMessagethe full response from the server
-