Asterisk-Java

org.asteriskjava.manager.response
Class GetVarResponse

java.lang.Object
  extended by org.asteriskjava.manager.response.ManagerResponse
      extended by org.asteriskjava.manager.response.GetVarResponse
All Implemented Interfaces:
java.io.Serializable

public class GetVarResponse
extends ManagerResponse

Corresponds to a GetVarAction and contains the value of the requested variable.

Since:
1.0.0
Version:
$Id: GetVarResponse.java 1153 2008-08-22 10:10:22Z srt $
Author:
srt
See Also:
GetVarAction, Serialized Form

Constructor Summary
GetVarResponse()
           
 
Method Summary
 java.lang.String getValue()
          Returns the value of the requested variable.
 java.lang.String getVariable()
          Returns the name of the requested variable.
 void setValue(java.lang.String value)
          Sets the value of the requested variable.
 void setVariable(java.lang.String variable)
          Sets the name of the requested variable.
 
Methods inherited from class org.asteriskjava.manager.response.ManagerResponse
getActionId, getAttribute, getAttributes, getDateReceived, getEventList, getMessage, getResponse, getServer, getUniqueId, setActionId, setAttributes, setDateReceived, setEventList, setMessage, setResponse, setServer, setUniqueId, stringToInteger, stringToLong, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetVarResponse

public GetVarResponse()
Method Detail

getVariable

public java.lang.String getVariable()
Returns the name of the requested variable.

Returns:
the name of the requested variable.

setVariable

public void setVariable(java.lang.String variable)
Sets the name of the requested variable.

Parameters:
variable - the name of the requested variable.

getValue

public java.lang.String getValue()
Returns the value of the requested variable.

Returns:
the value of the requested variable.

setValue

public void setValue(java.lang.String value)
Sets the value of the requested variable.

Parameters:
value - the value of the requested variable.

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.