Class CommandResponse
java.lang.Object
com.bytedesk.call.esl.client.transport.CommandResponse
Result object to carry the results of a command sent to the FreeSWITCH Event Socket.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
command
-
replyText
-
response
-
success
private final boolean success
-
-
Constructor Details
-
CommandResponse
-
-
Method Details
-
getCommand
- Returns:
- the original command sent to the server
-
isOk
public boolean isOk()- Returns:
- true if and only if the response Reply-Text line starts with "+OK"
-
getReplyText
- Returns:
- the full response Reply-Text line.
-
getResponse
- Returns:
EslMessagethe full response from the server
-