4.1.0.610 20071213

ch.ecma.csta.binding
Class AcceptCall

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

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

Not supported.

Causes an offered call to transition to the Ringing or Entering Distribution mode of the alerting state.

For an illustration of this event, see ECMA 269, section 17.1.1, Figure 17-1 "Accept Call Service".

Connection State Transitions:

The monitoring event sequence for both device-type and call-type monitoring is a DeliveredEvent.

CSTA Functional Requirements:

  1. If the computing function wants to clear an active call prior to accepting an alerting call for a device, it will first issue a ClearConnection service for the active call and then issue the Accept Call service for the alerting call.

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

Constructor Summary
AcceptCall()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 ConnectionID getCallToBeAccepted()
          Returns the value of field 'callToBeAccepted'.
 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 setCallToBeAccepted(ConnectionID callToBeAccepted)
          Sets the value of field 'callToBeAccepted'.
 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 AcceptCall unmarshalAcceptCall(java.io.Reader reader)
          Method unmarshalAcceptCall
 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

AcceptCall

public AcceptCall()
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

getCallToBeAccepted

public ConnectionID getCallToBeAccepted()
Returns the value of field 'callToBeAccepted'. The field 'callToBeAccepted' has the following description:

Specifies the connection to be accepted. 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

setCallToBeAccepted

public void setCallToBeAccepted(ConnectionID callToBeAccepted)
Sets the value of field 'callToBeAccepted'. The field 'callToBeAccepted' has the following description:

Specifies the connection to be accepted. Mandatory.

Parameters:
callToBeAccepted - the value of field 'callToBeAccepted'

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'.

unmarshalAcceptCall

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

Parameters:
reader -
Returns:
AcceptCall
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.