Package de.ilink.cti.cstajtapi
Klasse TerminalConnectionImpl
java.lang.Object
de.ilink.cti.cstajtapi.TerminalConnectionImpl
- Alle implementierten Schnittstellen:
javax.telephony.callcontrol.CallControlTerminalConnection
,javax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
,javax.telephony.capabilities.TerminalConnectionCapabilities
,javax.telephony.TerminalConnection
public class TerminalConnectionImpl
extends Object
implements javax.telephony.callcontrol.CallControlTerminalConnection, javax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
Implementation of a TerminalConnection connected to a monitored device.
Copyright (c) 2002-2003, 2025 ilink Kommunikationssysteme GmbH
-
Feldübersicht
Von Schnittstelle geerbte Felder javax.telephony.callcontrol.CallControlTerminalConnection
BRIDGED, DROPPED, HELD, IDLE, INUSE, RINGING, TALKING, UNKNOWN
Von Schnittstelle geerbte Felder javax.telephony.TerminalConnection
ACTIVE, PASSIVE
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
answer()
Answers an inbound call.boolean
boolean
canHold()
boolean
canJoin()
boolean
canLeave()
boolean
int
javax.telephony.capabilities.TerminalConnectionCapabilities
javax.telephony.Connection
protected de.ilink.cti.cstajtapi.interfaces.JTCSTAConnection
int
getState()
javax.telephony.Terminal
javax.telephony.capabilities.TerminalConnectionCapabilities
getTerminalConnectionCapabilities
(javax.telephony.Terminal arg0, javax.telephony.Address arg1) Veraltet.void
hold()
Puts a call on hold.void
join()
This method is not supported by the current implementation and will throw aMethodNotSupportedException
.void
leave()
This method is not supported by the current implementation and will throw aMethodNotSupportedException
.protected void
sendCreationEvent
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) toString()
void
transformToDroppedState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToHeldState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToRingingState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
transformToTalkingState
(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) void
unhold()
Retreives a previously held call.
-
Methodendetails
-
getTerminal
public javax.telephony.Terminal getTerminal()- Angegeben von:
getTerminal
in Schnittstellejavax.telephony.TerminalConnection
- Siehe auch:
-
getConnection
public javax.telephony.Connection getConnection()- Angegeben von:
getConnection
in Schnittstellejavax.telephony.TerminalConnection
- Siehe auch:
-
getJTCSTAConnection
protected de.ilink.cti.cstajtapi.interfaces.JTCSTAConnection getJTCSTAConnection() -
answer
public void answer() throws javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException, javax.telephony.MethodNotSupportedException, javax.telephony.InvalidStateExceptionAnswers an inbound call.- Angegeben von:
answer
in Schnittstellejavax.telephony.TerminalConnection
- Löst aus:
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException
javax.telephony.InvalidStateException
- Siehe auch:
-
getCapabilities
public javax.telephony.capabilities.TerminalConnectionCapabilities getCapabilities()- Angegeben von:
getCapabilities
in Schnittstellejavax.telephony.TerminalConnection
- Siehe auch:
-
getTerminalConnectionCapabilities
public javax.telephony.capabilities.TerminalConnectionCapabilities getTerminalConnectionCapabilities(javax.telephony.Terminal arg0, javax.telephony.Address arg1) throws javax.telephony.InvalidArgumentException, javax.telephony.PlatformException Veraltet.- Angegeben von:
getTerminalConnectionCapabilities
in Schnittstellejavax.telephony.TerminalConnection
- Löst aus:
javax.telephony.InvalidArgumentException
javax.telephony.PlatformException
- Siehe auch:
-
hold
public void hold() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableExceptionPuts a call on hold. NOTE: Some device / switch combinations don't support HoldCall. In this case, aMethodNotSupportedException
will be thrown.- Angegeben von:
hold
in Schnittstellejavax.telephony.callcontrol.CallControlTerminalConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
join
public void join() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableExceptionThis method is not supported by the current implementation and will throw aMethodNotSupportedException
. Do not call this method.- Angegeben von:
join
in Schnittstellejavax.telephony.callcontrol.CallControlTerminalConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
leave
public void leave() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableExceptionThis method is not supported by the current implementation and will throw aMethodNotSupportedException
. Do not call this method.- Angegeben von:
leave
in Schnittstellejavax.telephony.callcontrol.CallControlTerminalConnection
- Löst aus:
javax.telephony.InvalidStateException
javax.telephony.MethodNotSupportedException
javax.telephony.PrivilegeViolationException
javax.telephony.ResourceUnavailableException
- Siehe auch:
-
unhold
public void unhold() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableExceptionRetreives a previously held call. NOTE: Some device / switch combinations don't support RetrieveCall. In this case, aMethodNotSupportedException
will be thrown.- Angegeben von:
unhold
in Schnittstellejavax.telephony.callcontrol.CallControlTerminalConnection
- 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.CallControlTerminalConnection
-
getState
public int getState()- Angegeben von:
getState
in Schnittstellejavax.telephony.TerminalConnection
-
transformToDroppedState
public void transformToDroppedState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
transformToHeldState
public void transformToHeldState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
transformToRingingState
public void transformToRingingState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
transformToTalkingState
public void transformToTalkingState(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
sendCreationEvent
protected void sendCreationEvent(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue) -
canHold
public boolean canHold()- Angegeben von:
canHold
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
- Siehe auch:
-
canJoin
public boolean canJoin()- Angegeben von:
canJoin
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
- Siehe auch:
-
canLeave
public boolean canLeave()- Angegeben von:
canLeave
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
- Siehe auch:
-
canUnhold
public boolean canUnhold()- Angegeben von:
canUnhold
in Schnittstellejavax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
- Siehe auch:
-
canAnswer
public boolean canAnswer()- Angegeben von:
canAnswer
in Schnittstellejavax.telephony.capabilities.TerminalConnectionCapabilities
- Siehe auch:
-
toString
-