类 CommandResponse

java.lang.Object
link.thingscloud.freeswitch.esl.transport.CommandResponse

public class CommandResponse extends Object

CommandResponse class.

版本:
1.0.0
作者:
: zhouhailin
  • 构造器详细资料

    • CommandResponse

      public CommandResponse(String command, EslMessage response)

      Constructor for CommandResponse.

      参数:
      command - a String object.
      response - a EslMessage object.
  • 方法详细资料

    • getCommand

      public String 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

      public String getReplyText()

      Getter for the field replyText.

      返回:
      the full response Reply-Text line.
    • getResponse

      public EslMessage getResponse()

      Getter for the field response.

      返回:
      EslMessage the full response from the server