Click or drag to resize
GetConfigResponse Methods

The GetConfigResponse type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAttribute
Returns the value of the attribute with the given key.
This is particulary important when a response contains special attributes that are dependent on the action that has been sent.
An example of this is the response to the GetVarAction. It contains the value of the channel variable as an attribute stored under the key of the variable name.
Example:
                    GetVarAction action = new GetVarAction();
                    action.setChannel("SIP/1310-22c3");
                    action.setVariable("ALERT_INFO");
                    ManagerResponse response = connection.SendAction(action);
                    String alertInfo = response.getAttribute("ALERT_INFO");
                
As all attributes are internally stored in lower case the key is automatically converted to lower case before lookup.
(Inherited from ManagerResponse.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSuccess
Return true if Response is success
(Inherited from ManagerResponse.)
Public methodLines
Returns the map of line number to line value for a given category.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParse
Unknown properties parser
(Inherited from ManagerResponse.)
Public methodParseSpecial
Unknown properties parser
(Inherited from ManagerResponse.)
Public methodToString (Inherited from ManagerResponse.)
Top
See Also