4.1.0.610 20071213

ch.ecma.csta.binding
Class AnswerCall

java.lang.Object
  extended by ch.ecma.csta.CastorObject
      extended by ch.ecma.csta.binding.AnswerCall
All Implemented Interfaces:
java.io.Serializable

public class AnswerCall
extends ch.ecma.csta.CastorObject
implements java.io.Serializable

Answers a call that is ringing, queued, or being offered to a device. This service is typically associated with devices that have attached speakerphone units and headset telephones to connect to a call via hands-free operation. For example, when the call is answered, one of the following actions may occur:

The AnswerCall request has these parameters:

AnswerCall Request Parameters
callToBeAnswered Mandatory Alerting connection to be answered

CSTA Functional Requirements:

  1. If the computing function wants to clear an active call prior to answering an alerting or queued call for a device, it must first issue a ClearConnection service for the active call and then issue the Answer Call service for the alerting or queued call.

Negative Acknowledgements:

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
AnswerCall()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 ConnectionID getCallToBeAnswered()
          Returns the value of field 'callToBeAnswered'.
 CorrelatorData getCorrelatorData()
          Returns the value of field 'correlatorData'.
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 UserData getUserData()
          Returns the value of field 'userData'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCallToBeAnswered(ConnectionID callToBeAnswered)
          Sets the value of field 'callToBeAnswered'.
 void setCorrelatorData(CorrelatorData correlatorData)
          Sets the value of field 'correlatorData'.
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setUserData(UserData userData)
          Sets the value of field 'userData'.
static AnswerCall unmarshalAnswerCall(java.io.Reader reader)
          Method unmarshalAnswerCall
 void validate()
          Method validate
 
Methods inherited from class ch.ecma.csta.CastorObject
getOldSessionID, hashCode, setOldSessionID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnswerCall

public AnswerCall()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class ch.ecma.csta.CastorObject
Parameters:
obj -
Returns:
boolean

getCallToBeAnswered

public ConnectionID getCallToBeAnswered()
Returns the value of field 'callToBeAnswered'. The field 'callToBeAnswered' has the following description: Specifies the connection to be answered. Mandatory.

Returns:
ConnectionID

getCorrelatorData

public CorrelatorData getCorrelatorData()
Returns the value of field 'correlatorData'.

Returns:
CorrelatorData

getExtensions

public CSTACommonArguments getExtensions()
Returns the value of field 'extensions'.

Returns:
CSTACommonArguments

getUserData

public UserData getUserData()
Returns the value of field 'userData'.

Returns:
UserData

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setCallToBeAnswered

public void setCallToBeAnswered(ConnectionID callToBeAnswered)
Sets the value of field 'callToBeAnswered'. The field 'callToBeAnswered' has the following description: Specifies the connection to be answered. Mandatory.

Parameters:
callToBeAnswered - the value of field 'callToBeAnswered'

setCorrelatorData

public void setCorrelatorData(CorrelatorData correlatorData)
Sets the value of field 'correlatorData'.

Parameters:
correlatorData - the value of field 'correlatorData'.

setExtensions

public void setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'.

Parameters:
extensions - the value of field 'extensions'.

setUserData

public void setUserData(UserData userData)
Sets the value of field 'userData'.

Parameters:
userData - the value of field 'userData'.

unmarshalAnswerCall

public static AnswerCall unmarshalAnswerCall(java.io.Reader reader)
                                      throws org.exolab.castor.xml.MarshalException,
                                             org.exolab.castor.xml.ValidationException
Method unmarshalAnswerCall

Parameters:
reader -
Returns:
AnswerCall
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.