Package de.ilink.cti.cstajtapi
Klasse ConnectionImpl
java.lang.Object
de.ilink.cti.cstajtapi.ConnectionImpl
- Alle implementierten Schnittstellen:
javax.telephony.callcontrol.CallControlConnection
,javax.telephony.callcontrol.capabilities.CallControlConnectionCapabilities
,javax.telephony.capabilities.ConnectionCapabilities
,javax.telephony.Connection
public class ConnectionImpl
extends Object
implements javax.telephony.callcontrol.CallControlConnection, javax.telephony.callcontrol.capabilities.CallControlConnectionCapabilities
Implementation of a JTAPI CallControlConnection that acts as a proxy
in front of the CSTA layer.
Copyright (c) 2002-2004, 2016, 2019, 2021, 2025 ilink Kommunikationssysteme GmbH
-
Feldübersicht
Von Schnittstelle geerbte Felder javax.telephony.callcontrol.CallControlConnection
ALERTING, DIALING, DISCONNECTED, ESTABLISHED, FAILED, IDLE, INITIATED, NETWORK_ALERTING, NETWORK_REACHED, OFFERED, OFFERING, QUEUED, UNKNOWN
Von Schnittstelle geerbte Felder javax.telephony.Connection
CONNECTED, INPROGRESS
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
ConnectionImpl
(de.ilink.cti.cstajtapi.interfaces.JTCSTAConnection aConnProxy) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
accept()
Not supported by this implementation.void
addToAddress
(String arg0) This method is not supported by the implementation and will throw aMethodNotSupportedException
.boolean
boolean
boolean
boolean
canPark()
boolean
boolean
Always returns null.void
Disconnects the connection from the call.javax.telephony.Address
javax.telephony.Call
getCall()
int
javax.telephony.capabilities.ConnectionCapabilities
javax.telephony.capabilities.ConnectionCapabilities
getConnectionCapabilities
(javax.telephony.Terminal arg0, javax.telephony.Address arg1) Veraltet.int
getState()
javax.telephony.TerminalConnection[]
void
notifyCallPicked
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue, String aNewDestination) javax.telephony.Connection
This method is not supported by the implementation and will throw aMethodNotSupportedException
.javax.telephony.Connection
void
reject()
Not implemented (see accept()).protected void
sendCreationEvent
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) toString()
void
transformToAlertingState
(String aCause, String anUserInfo, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToConnectedState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToDisconnectedState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToFailedState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToInitiatedState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToNetworkReachedState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToQueuedState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue)
-
Konstruktordetails
-
ConnectionImpl
protected ConnectionImpl(de.ilink.cti.cstajtapi.interfaces.JTCSTAConnection aConnProxy)
-
-
Methodendetails
-
getCall
public javax.telephony.Call getCall()- Angegeben von:
getCall
in Schnittstellejavax.telephony.Connection
- Siehe auch:
-
getAddress
public javax.telephony.Address getAddress()- Angegeben von:
getAddress
in Schnittstellejavax.telephony.Connection
- Siehe auch:
-
getTerminalConnections
public javax.telephony.TerminalConnection[] getTerminalConnections()- Angegeben von:
getTerminalConnections
in Schnittstellejavax.telephony.Connection
- Siehe auch:
-
disconnect
public void disconnect() throws javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException, javax.telephony.MethodNotSupportedException, javax.telephony.InvalidStateExceptionDisconnects the connection from the call.- Angegeben von:
disconnect
in Schnittstellejavax.telephony.Connection
- Löst aus:
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException
javax.telephony.InvalidStateException
- Siehe auch:
-
getCapabilities
public javax.telephony.capabilities.ConnectionCapabilities getCapabilities()- Angegeben von:
getCapabilities
in Schnittstellejavax.telephony.Connection
- Siehe auch:
-
getConnectionCapabilities
public javax.telephony.capabilities.ConnectionCapabilities getConnectionCapabilities(javax.telephony.Terminal arg0, javax.telephony.Address arg1) throws javax.telephony.InvalidArgumentException, javax.telephony.PlatformException Veraltet.- Angegeben von:
getConnectionCapabilities
in Schnittstellejavax.telephony.Connection
- Löst aus:
javax.telephony.InvalidArgumentException
javax.telephony.PlatformException
- Siehe auch:
-
accept
public void accept() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableExceptionNot supported by this implementation. Don't call.- Angegeben von:
accept
in Schnittstellejavax.telephony.callcontrol.CallControlConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
addToAddress
public void addToAddress(String arg0) throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException This method is not supported by the implementation and will throw aMethodNotSupportedException
. Don't use it.- Angegeben von:
addToAddress
in Schnittstellejavax.telephony.callcontrol.CallControlConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
park
public javax.telephony.Connection park(String arg0) throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.InvalidPartyException, javax.telephony.ResourceUnavailableException This method is not supported by the implementation and will throw aMethodNotSupportedException
. Don't use it.- Angegeben von:
park
in Schnittstellejavax.telephony.callcontrol.CallControlConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.InvalidPartyException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
redirect
public javax.telephony.Connection redirect(String aTargetDialableNumber) throws javax.telephony.InvalidStateException, javax.telephony.InvalidPartyException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException - Angegeben von:
redirect
in Schnittstellejavax.telephony.callcontrol.CallControlConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.InvalidPartyException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
reject
public void reject() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableExceptionNot implemented (see accept()). This implementation does not support the "offered" state.- Angegeben von:
reject
in Schnittstellejavax.telephony.callcontrol.CallControlConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
getCallControlState
public int getCallControlState()- Angegeben von:
getCallControlState
in Schnittstellejavax.telephony.callcontrol.CallControlConnection
-
getState
public int getState()- Angegeben von:
getState
in Schnittstellejavax.telephony.Connection
-
transformToAlertingState
-
transformToConnectedState
public void transformToConnectedState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
notifyCallPicked
-
transformToDisconnectedState
public void transformToDisconnectedState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
transformToFailedState
public void transformToFailedState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
transformToNetworkReachedState
public void transformToNetworkReachedState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
transformToQueuedState
public void transformToQueuedState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
transformToInitiatedState
public void transformToInitiatedState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
sendCreationEvent
protected void sendCreationEvent(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
canAccept
public boolean canAccept()- Angegeben von:
canAccept
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlConnectionCapabilities
- Siehe auch:
-
canAddToAddress
public boolean canAddToAddress()- Angegeben von:
canAddToAddress
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlConnectionCapabilities
- Siehe auch:
-
canPark
public boolean canPark()- Angegeben von:
canPark
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlConnectionCapabilities
- Siehe auch:
-
canRedirect
public boolean canRedirect()- Angegeben von:
canRedirect
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlConnectionCapabilities
- Siehe auch:
-
canReject
public boolean canReject()Always returns null.- Angegeben von:
canReject
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlConnectionCapabilities
- Siehe auch:
-
canDisconnect
public boolean canDisconnect()- Angegeben von:
canDisconnect
in Schnittstellejavax.telephony.capabilities.ConnectionCapabilities
- Siehe auch:
-
toString
-