de.ilink.cti.cstajtapi
Class CallImpl

java.lang.Object
  extended by de.ilink.cti.cstajtapi.CallImpl
All Implemented Interfaces:
ExtendedCallControlCall, javax.telephony.Call, javax.telephony.callcenter.CallCenterCall, javax.telephony.callcontrol.CallControlCall, javax.telephony.callcontrol.capabilities.CallControlCallCapabilities, javax.telephony.capabilities.CallCapabilities

public class CallImpl
extends java.lang.Object
implements ExtendedCallControlCall, javax.telephony.callcontrol.capabilities.CallControlCallCapabilities, javax.telephony.callcenter.CallCenterCall

Implementation of a JTAPI Call based on a CSTA call.


Field Summary
 
Fields inherited from interface javax.telephony.Call
ACTIVE, IDLE, INVALID
 
Fields inherited from interface javax.telephony.callcenter.CallCenterCall
ANSWERING_TREATMENT_CONNECT, ANSWERING_TREATMENT_DROP, ANSWERING_TREATMENT_NONE, ANSWERING_TREATMENT_PROVIDER_DEFAULT, ENDPOINT_ANSWERING_MACHINE, ENDPOINT_ANY, ENDPOINT_FAX_MACHINE, ENDPOINT_HUMAN_INTERVENTION, MAX_RINGS, MIN_RINGS
 
Method Summary
 void addCallListener(javax.telephony.CallListener aListener)
           
protected  void addCallListeners(de.ilink.cti.cstajtapi.events.EventHandlerRegistration aRegistration)
           
protected  void addCallObservers(de.ilink.cti.cstajtapi.events.EventHandlerRegistration aRegistration)
           
 void addObserver(javax.telephony.CallObserver anObserver)
           
 javax.telephony.Connection addParty(java.lang.String arg0)
           
 void alternateCall(javax.telephony.Call aCall)
          Alternates the held state between the held call and the active call.
 void blindTransfer(javax.telephony.Call aCall)
          Transfers the remote connections of this call and the given remote call to a new call.
 void callBackCall()
          Invokes a Callback request on the current call
 boolean canAddParty()
           
 boolean canConference()
           
 boolean canConnect()
           
 boolean canConsult()
          Deprecated.  
 boolean canConsult(javax.telephony.TerminalConnection aTerminalConnection)
           
 boolean canConsult(javax.telephony.TerminalConnection aTerminalConnection, java.lang.String arg1)
           
 boolean canDrop()
           
 boolean canOffHook()
           
 boolean canSetConferenceController()
           
 boolean canSetConferenceEnable()
           
 boolean canSetTransferController()
           
 boolean canSetTransferEnable()
           
 boolean canTransfer()
          Deprecated.  
 boolean canTransfer(javax.telephony.Call aCall)
           
 boolean canTransfer(java.lang.String aNumber)
           
 void conference(javax.telephony.Call aCall)
          Connects two calls to a conference.
 javax.telephony.Connection[] connect(javax.telephony.Terminal aCallerTerminal, javax.telephony.Address aCallerAddress, java.lang.String aCalledNumber)
           
 javax.telephony.Connection[] connectPredictive(javax.telephony.Terminal arg0, javax.telephony.Address arg1, java.lang.String arg2, int arg3, int arg4, int arg5, int arg6)
           
 javax.telephony.Connection consult(javax.telephony.TerminalConnection arg0)
          This method is not supported by the implementation and will throw a MethodNotSupportedException.
 javax.telephony.Connection[] consult(javax.telephony.TerminalConnection aTerminalConnection, java.lang.String aNumber)
          Creates a new Call using the terminal connection provided.
 void drop()
          Drops this call.
protected  void finalize()
           
 java.lang.Object getApplicationData()
           
 javax.telephony.capabilities.CallCapabilities getCallCapabilities(javax.telephony.Terminal arg0, javax.telephony.Address arg1)
          Deprecated.  
 javax.telephony.Address getCalledAddress()
           
 javax.telephony.Address getCallingAddress()
           
 javax.telephony.Terminal getCallingTerminal()
           
 javax.telephony.CallListener[] getCallListeners()
           
 javax.telephony.capabilities.CallCapabilities getCapabilities(javax.telephony.Terminal arg0, javax.telephony.Address arg1)
           
 javax.telephony.TerminalConnection getConferenceController()
           
 boolean getConferenceEnable()
           
 javax.telephony.Connection[] getConnections()
           
 java.lang.String getCSTACallID()
           
 javax.telephony.callcontrol.CallControlCallObserver getDispatchingCallControlCallObserver()
           
 javax.telephony.CallListener getDispatchingCallListener()
           
 javax.telephony.ConnectionListener getDispatchingConnectionListener()
           
 javax.telephony.TerminalConnectionListener getDispatchingTerminalConnectionListener()
           
 java.lang.String getGloballyUniqueCallLinkageID()
           
 javax.telephony.Address getLastRedirectedAddress()
           
 javax.telephony.CallObserver[] getObservers()
           
 javax.telephony.Provider getProvider()
           
 int getState()
           
 javax.telephony.TerminalConnection getTransferController()
           
 boolean getTransferEnable()
           
 javax.telephony.callcenter.CallCenterTrunk[] getTrunks()
           
 boolean isObservable()
           
 javax.telephony.Connection offHook(javax.telephony.Address arg0, javax.telephony.Terminal arg1)
          This method is not supported by the implementation and will throw a MethodNotSupportedException.
 void removeCallListener(javax.telephony.CallListener aListener)
           
 void removeObserver(javax.telephony.CallObserver anObserver)
           
protected  void setAppDataKey(java.lang.String aKey)
           
 void setApplicationData(java.lang.Object aData)
           
 void setConferenceController(javax.telephony.TerminalConnection arg0)
           
 void setConferenceEnable(boolean isEnabled)
           
protected  void setLocalConnection(de.ilink.cti.cstajtapi.MapperLocalConnection aProxy)
           
 void setTransferController(javax.telephony.TerminalConnection arg0)
           
 void setTransferEnable(boolean isEnabled)
           
 java.lang.String toString()
           
 void transfer(javax.telephony.Call aCall)
          Transfers the remote connections of this call and the given remote call to a new call.
 javax.telephony.Connection transfer(java.lang.String aTargetNumber)
           
 void transformToActiveState(java.lang.String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue aQueue)
           
 void transformToInvalidState(java.lang.String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue aQueue)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDispatchingCallListener

public javax.telephony.CallListener getDispatchingCallListener()

getDispatchingConnectionListener

public javax.telephony.ConnectionListener getDispatchingConnectionListener()

getDispatchingTerminalConnectionListener

public javax.telephony.TerminalConnectionListener getDispatchingTerminalConnectionListener()

getDispatchingCallControlCallObserver

public javax.telephony.callcontrol.CallControlCallObserver getDispatchingCallControlCallObserver()

setLocalConnection

protected void setLocalConnection(de.ilink.cti.cstajtapi.MapperLocalConnection aProxy)

getCSTACallID

public java.lang.String getCSTACallID()

getConnections

public javax.telephony.Connection[] getConnections()
Specified by:
getConnections in interface javax.telephony.Call
See Also:
Call.getConnections()

getProvider

public javax.telephony.Provider getProvider()
Specified by:
getProvider in interface javax.telephony.Call
See Also:
Call.getProvider()

connect

public javax.telephony.Connection[] connect(javax.telephony.Terminal aCallerTerminal,
                                            javax.telephony.Address aCallerAddress,
                                            java.lang.String aCalledNumber)
                                     throws javax.telephony.ResourceUnavailableException,
                                            javax.telephony.PrivilegeViolationException,
                                            javax.telephony.InvalidPartyException,
                                            javax.telephony.InvalidArgumentException,
                                            javax.telephony.InvalidStateException,
                                            javax.telephony.MethodNotSupportedException
Specified by:
connect in interface javax.telephony.Call
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.PrivilegeViolationException
javax.telephony.InvalidPartyException
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
See Also:
Call.connect(Terminal, Address, String)

getCapabilities

public javax.telephony.capabilities.CallCapabilities getCapabilities(javax.telephony.Terminal arg0,
                                                                     javax.telephony.Address arg1)
                                                              throws javax.telephony.InvalidArgumentException
Specified by:
getCapabilities in interface javax.telephony.Call
Throws:
javax.telephony.InvalidArgumentException
See Also:
Call.getCapabilities(Terminal, Address)

getCallCapabilities

public javax.telephony.capabilities.CallCapabilities getCallCapabilities(javax.telephony.Terminal arg0,
                                                                         javax.telephony.Address arg1)
                                                                  throws javax.telephony.InvalidArgumentException,
                                                                         javax.telephony.PlatformException
Deprecated. 

Specified by:
getCallCapabilities in interface javax.telephony.Call
Throws:
javax.telephony.InvalidArgumentException
javax.telephony.PlatformException
See Also:
Call.getCallCapabilities(Terminal, Address)

addCallListeners

protected void addCallListeners(de.ilink.cti.cstajtapi.events.EventHandlerRegistration aRegistration)

addCallObservers

protected void addCallObservers(de.ilink.cti.cstajtapi.events.EventHandlerRegistration aRegistration)

addObserver

public void addObserver(javax.telephony.CallObserver anObserver)
                 throws javax.telephony.ResourceUnavailableException,
                        javax.telephony.MethodNotSupportedException
Specified by:
addObserver in interface javax.telephony.Call
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException

getObservers

public javax.telephony.CallObserver[] getObservers()
Specified by:
getObservers in interface javax.telephony.Call

removeObserver

public void removeObserver(javax.telephony.CallObserver anObserver)
Specified by:
removeObserver in interface javax.telephony.Call

addCallListener

public void addCallListener(javax.telephony.CallListener aListener)
                     throws javax.telephony.ResourceUnavailableException,
                            javax.telephony.MethodNotSupportedException
Specified by:
addCallListener in interface javax.telephony.Call
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException

getCallListeners

public javax.telephony.CallListener[] getCallListeners()
Specified by:
getCallListeners in interface javax.telephony.Call

removeCallListener

public void removeCallListener(javax.telephony.CallListener aListener)
Specified by:
removeCallListener in interface javax.telephony.Call

conference

public void conference(javax.telephony.Call aCall)
                throws javax.telephony.InvalidStateException,
                       javax.telephony.InvalidArgumentException,
                       javax.telephony.MethodNotSupportedException,
                       javax.telephony.PrivilegeViolationException,
                       javax.telephony.ResourceUnavailableException
Connects two calls to a conference. NOTE: This call must be the consultation call previously created, the terminal connection of aCall must be in state held.

Specified by:
conference in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidArgumentException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.conference(Call)

consult

public javax.telephony.Connection[] consult(javax.telephony.TerminalConnection aTerminalConnection,
                                            java.lang.String aNumber)
                                     throws javax.telephony.InvalidStateException,
                                            javax.telephony.InvalidArgumentException,
                                            javax.telephony.MethodNotSupportedException,
                                            javax.telephony.ResourceUnavailableException,
                                            javax.telephony.PrivilegeViolationException,
                                            javax.telephony.InvalidPartyException
Creates a new Call using the terminal connection provided. The call currently assigned to this terminal connection is held and a new terminal connection for this call created. For additional information and event flow see the JTAPI documentation.

Specified by:
consult in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidArgumentException
javax.telephony.MethodNotSupportedException
javax.telephony.ResourceUnavailableException
javax.telephony.PrivilegeViolationException
javax.telephony.InvalidPartyException
See Also:
CallControlCall.consult(TerminalConnection, String)

consult

public javax.telephony.Connection consult(javax.telephony.TerminalConnection arg0)
                                   throws javax.telephony.InvalidStateException,
                                          javax.telephony.InvalidArgumentException,
                                          javax.telephony.MethodNotSupportedException,
                                          javax.telephony.ResourceUnavailableException,
                                          javax.telephony.PrivilegeViolationException
This method is not supported by the implementation and will throw a MethodNotSupportedException. Don't use it. Use consult(TerminalConnection, number) instead.

Specified by:
consult in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidArgumentException
javax.telephony.MethodNotSupportedException
javax.telephony.ResourceUnavailableException
javax.telephony.PrivilegeViolationException
See Also:
CallControlCall.consult(TerminalConnection)

drop

public void drop()
          throws javax.telephony.InvalidStateException,
                 javax.telephony.MethodNotSupportedException,
                 javax.telephony.PrivilegeViolationException,
                 javax.telephony.ResourceUnavailableException
Drops this call.

Specified by:
drop in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.drop()

getCalledAddress

public javax.telephony.Address getCalledAddress()
Specified by:
getCalledAddress in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getCalledAddress()

getCallingAddress

public javax.telephony.Address getCallingAddress()
Specified by:
getCallingAddress in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getCallingAddress()

getGloballyUniqueCallLinkageID

public java.lang.String getGloballyUniqueCallLinkageID()

getCallingTerminal

public javax.telephony.Terminal getCallingTerminal()
Specified by:
getCallingTerminal in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getCallingTerminal()

getConferenceController

public javax.telephony.TerminalConnection getConferenceController()
Specified by:
getConferenceController in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getConferenceController()

getLastRedirectedAddress

public javax.telephony.Address getLastRedirectedAddress()
Specified by:
getLastRedirectedAddress in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getLastRedirectedAddress()

getTransferController

public javax.telephony.TerminalConnection getTransferController()
Specified by:
getTransferController in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getTransferController()

offHook

public javax.telephony.Connection offHook(javax.telephony.Address arg0,
                                          javax.telephony.Terminal arg1)
                                   throws javax.telephony.InvalidStateException,
                                          javax.telephony.MethodNotSupportedException,
                                          javax.telephony.PrivilegeViolationException,
                                          javax.telephony.ResourceUnavailableException
This method is not supported by the implementation and will throw a MethodNotSupportedException. Don't use it.

Specified by:
offHook in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.offHook(Address, Terminal)

setConferenceController

public void setConferenceController(javax.telephony.TerminalConnection arg0)
                             throws javax.telephony.InvalidArgumentException,
                                    javax.telephony.InvalidStateException,
                                    javax.telephony.MethodNotSupportedException,
                                    javax.telephony.ResourceUnavailableException
Specified by:
setConferenceController in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.setConferenceController(TerminalConnection)

setTransferController

public void setTransferController(javax.telephony.TerminalConnection arg0)
                           throws javax.telephony.InvalidArgumentException,
                                  javax.telephony.InvalidStateException,
                                  javax.telephony.MethodNotSupportedException,
                                  javax.telephony.ResourceUnavailableException
Specified by:
setTransferController in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.setTransferController(TerminalConnection)

transfer

public void transfer(javax.telephony.Call aCall)
              throws javax.telephony.InvalidStateException,
                     javax.telephony.InvalidArgumentException,
                     javax.telephony.InvalidPartyException,
                     javax.telephony.MethodNotSupportedException,
                     javax.telephony.PrivilegeViolationException,
                     javax.telephony.ResourceUnavailableException
Transfers the remote connections of this call and the given remote call to a new call.

Specified by:
transfer in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidArgumentException
javax.telephony.InvalidPartyException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.transfer(Call)

blindTransfer

public void blindTransfer(javax.telephony.Call aCall)
                   throws javax.telephony.InvalidStateException,
                          javax.telephony.InvalidArgumentException,
                          javax.telephony.InvalidPartyException,
                          javax.telephony.MethodNotSupportedException,
                          javax.telephony.PrivilegeViolationException,
                          javax.telephony.ResourceUnavailableException
Description copied from interface: ExtendedCallControlCall
Transfers the remote connections of this call and the given remote call to a new call. NOTE: This private implementation performs a blind transfer without checking whether the consultation call has been connected.
It is to some extent a "soft" implementation of a single step transfer.

Specified by:
blindTransfer in interface ExtendedCallControlCall
Parameters:
aCall - The second to transfer.
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidArgumentException
javax.telephony.InvalidPartyException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
ExtendedCallControlCall.blindTransfer(Call)

alternateCall

public void alternateCall(javax.telephony.Call aCall)
                   throws javax.telephony.InvalidStateException,
                          javax.telephony.InvalidArgumentException,
                          javax.telephony.InvalidPartyException,
                          javax.telephony.MethodNotSupportedException,
                          javax.telephony.PrivilegeViolationException,
                          javax.telephony.ResourceUnavailableException
Description copied from interface: ExtendedCallControlCall
Alternates the held state between the held call and the active call. It is to some extent a "soft" implementation of a alternate call feature.

Specified by:
alternateCall in interface ExtendedCallControlCall
Parameters:
aCall - Secondary Call. The call which currently active, will be held upon success.
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidArgumentException
javax.telephony.InvalidPartyException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
ExtendedCallControlCall.blindTransfer(Call)

callBackCall

public void callBackCall()
                  throws javax.telephony.InvalidStateException,
                         javax.telephony.InvalidArgumentException,
                         javax.telephony.InvalidPartyException,
                         javax.telephony.MethodNotSupportedException,
                         javax.telephony.PrivilegeViolationException,
                         javax.telephony.ResourceUnavailableException
Description copied from interface: ExtendedCallControlCall
Invokes a Callback request on the current call

Specified by:
callBackCall in interface ExtendedCallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidArgumentException
javax.telephony.InvalidPartyException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.transfer(Call)

transfer

public javax.telephony.Connection transfer(java.lang.String aTargetNumber)
                                    throws javax.telephony.InvalidArgumentException,
                                           javax.telephony.InvalidStateException,
                                           javax.telephony.InvalidPartyException,
                                           javax.telephony.MethodNotSupportedException,
                                           javax.telephony.PrivilegeViolationException,
                                           javax.telephony.ResourceUnavailableException
Specified by:
transfer in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.InvalidPartyException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.transfer(String)

getState

public int getState()
Specified by:
getState in interface javax.telephony.Call
See Also:
Call.getState()

transformToActiveState

public void transformToActiveState(java.lang.String aCause,
                                   de.ilink.cti.cstajtapi.events.JTAPIEventQueue aQueue)

transformToInvalidState

public void transformToInvalidState(java.lang.String aCause,
                                    de.ilink.cti.cstajtapi.events.JTAPIEventQueue aQueue)

addParty

public javax.telephony.Connection addParty(java.lang.String arg0)
                                    throws javax.telephony.InvalidStateException,
                                           javax.telephony.InvalidPartyException,
                                           javax.telephony.MethodNotSupportedException,
                                           javax.telephony.PrivilegeViolationException,
                                           javax.telephony.ResourceUnavailableException
Specified by:
addParty in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidStateException
javax.telephony.InvalidPartyException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
See Also:
CallControlCall.addParty(String)

getConferenceEnable

public boolean getConferenceEnable()
Specified by:
getConferenceEnable in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getConferenceEnable()

getTransferEnable

public boolean getTransferEnable()
Specified by:
getTransferEnable in interface javax.telephony.callcontrol.CallControlCall
See Also:
CallControlCall.getTransferEnable()

setConferenceEnable

public void setConferenceEnable(boolean isEnabled)
                         throws javax.telephony.InvalidArgumentException,
                                javax.telephony.InvalidStateException,
                                javax.telephony.MethodNotSupportedException,
                                javax.telephony.PrivilegeViolationException
Specified by:
setConferenceEnable in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
See Also:
CallControlCall.setConferenceEnable(boolean)

setTransferEnable

public void setTransferEnable(boolean isEnabled)
                       throws javax.telephony.InvalidArgumentException,
                              javax.telephony.InvalidStateException,
                              javax.telephony.MethodNotSupportedException,
                              javax.telephony.PrivilegeViolationException
Specified by:
setTransferEnable in interface javax.telephony.callcontrol.CallControlCall
Throws:
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
See Also:
CallControlCall.setTransferEnable(boolean)

canAddParty

public boolean canAddParty()
Specified by:
canAddParty in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canAddParty()

canConference

public boolean canConference()
Specified by:
canConference in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canConference()

canConsult

public boolean canConsult()
Deprecated. 

Specified by:
canConsult in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canConsult()

canConsult

public boolean canConsult(javax.telephony.TerminalConnection aTerminalConnection,
                          java.lang.String arg1)
Specified by:
canConsult in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canConsult(TerminalConnection, String)

canConsult

public boolean canConsult(javax.telephony.TerminalConnection aTerminalConnection)
Specified by:
canConsult in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canConsult(TerminalConnection)

canDrop

public boolean canDrop()
Specified by:
canDrop in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canDrop()

canOffHook

public boolean canOffHook()
Specified by:
canOffHook in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canOffHook()

canSetConferenceController

public boolean canSetConferenceController()
Specified by:
canSetConferenceController in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canSetConferenceController()

canSetConferenceEnable

public boolean canSetConferenceEnable()
Specified by:
canSetConferenceEnable in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canSetConferenceEnable()

canSetTransferController

public boolean canSetTransferController()
Specified by:
canSetTransferController in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canSetTransferController()

canSetTransferEnable

public boolean canSetTransferEnable()
Specified by:
canSetTransferEnable in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canSetTransferEnable()

canTransfer

public boolean canTransfer()
Deprecated. 

Specified by:
canTransfer in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canTransfer()

canTransfer

public boolean canTransfer(javax.telephony.Call aCall)
Specified by:
canTransfer in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canTransfer(Call)

canTransfer

public boolean canTransfer(java.lang.String aNumber)
Specified by:
canTransfer in interface javax.telephony.callcontrol.capabilities.CallControlCallCapabilities
See Also:
CallControlCallCapabilities.canTransfer(String)

canConnect

public boolean canConnect()
Specified by:
canConnect in interface javax.telephony.capabilities.CallCapabilities
See Also:
CallCapabilities.canConnect()

isObservable

public boolean isObservable()
Specified by:
isObservable in interface javax.telephony.capabilities.CallCapabilities
See Also:
CallCapabilities.isObservable()

connectPredictive

public javax.telephony.Connection[] connectPredictive(javax.telephony.Terminal arg0,
                                                      javax.telephony.Address arg1,
                                                      java.lang.String arg2,
                                                      int arg3,
                                                      int arg4,
                                                      int arg5,
                                                      int arg6)
                                               throws javax.telephony.ResourceUnavailableException,
                                                      javax.telephony.PrivilegeViolationException,
                                                      javax.telephony.InvalidPartyException,
                                                      javax.telephony.InvalidArgumentException,
                                                      javax.telephony.InvalidStateException,
                                                      javax.telephony.MethodNotSupportedException
Specified by:
connectPredictive in interface javax.telephony.callcenter.CallCenterCall
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.PrivilegeViolationException
javax.telephony.InvalidPartyException
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
See Also:
CallCenterCall.connectPredictive(Terminal, Address, String, int, int, int, int)

getTrunks

public javax.telephony.callcenter.CallCenterTrunk[] getTrunks()
                                                       throws javax.telephony.MethodNotSupportedException
Specified by:
getTrunks in interface javax.telephony.callcenter.CallCenterCall
Throws:
javax.telephony.MethodNotSupportedException
See Also:
CallCenterCall.getTrunks()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getApplicationData

public java.lang.Object getApplicationData()
                                    throws javax.telephony.MethodNotSupportedException
Specified by:
getApplicationData in interface javax.telephony.callcenter.CallCenterCall
Throws:
javax.telephony.MethodNotSupportedException
See Also:
CallCenterCall.getApplicationData()

setApplicationData

public void setApplicationData(java.lang.Object aData)
                        throws javax.telephony.ResourceUnavailableException,
                               javax.telephony.InvalidArgumentException,
                               javax.telephony.InvalidStateException,
                               javax.telephony.MethodNotSupportedException
Specified by:
setApplicationData in interface javax.telephony.callcenter.CallCenterCall
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.InvalidArgumentException
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
See Also:
CallCenterCall.setApplicationData(Object)

setAppDataKey

protected void setAppDataKey(java.lang.String aKey)

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable
See Also:
Object.finalize()


Copyright © 2002-2007, 2009, 2013, 2015-2019 by ilink Kommunikationssysteme GmbH
info@ilink.de