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 Typ
    Methode
    Beschreibung
    void
    Answers an inbound call.
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    int
     
    javax.telephony.capabilities.TerminalConnectionCapabilities
     
    javax.telephony.Connection
     
    protected de.ilink.cti.cstajtapi.interfaces.JTCSTAConnection
     
    int
     
    javax.telephony.Terminal
     
    javax.telephony.capabilities.TerminalConnectionCapabilities
    getTerminalConnectionCapabilities(javax.telephony.Terminal arg0, javax.telephony.Address arg1)
    Veraltet. 
    void
    Puts a call on hold.
    void
    This method is not supported by the current implementation and will throw a MethodNotSupportedException.
    void
    This method is not supported by the current implementation and will throw a MethodNotSupportedException.
    protected void
    sendCreationEvent(String aCause, de.ilink.cti.cstajtapi.events.JTAPIEventQueue anEventQueue)
     
     
    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
    Retreives a previously held call.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Methodendetails

    • getTerminal

      public javax.telephony.Terminal getTerminal()
      Angegeben von:
      getTerminal in Schnittstelle javax.telephony.TerminalConnection
      Siehe auch:
      • TerminalConnection.getTerminal()
    • getConnection

      public javax.telephony.Connection getConnection()
      Angegeben von:
      getConnection in Schnittstelle javax.telephony.TerminalConnection
      Siehe auch:
      • TerminalConnection.getConnection()
    • 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.InvalidStateException
      Answers an inbound call.
      Angegeben von:
      answer in Schnittstelle javax.telephony.TerminalConnection
      Löst aus:
      javax.telephony.PrivilegeViolationException
      javax.telephony.ResourceUnavailableException
      javax.telephony.MethodNotSupportedException
      javax.telephony.InvalidStateException
      Siehe auch:
      • TerminalConnection.answer()
    • getCapabilities

      public javax.telephony.capabilities.TerminalConnectionCapabilities getCapabilities()
      Angegeben von:
      getCapabilities in Schnittstelle javax.telephony.TerminalConnection
      Siehe auch:
      • TerminalConnection.getCapabilities()
    • 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 Schnittstelle javax.telephony.TerminalConnection
      Löst aus:
      javax.telephony.InvalidArgumentException
      javax.telephony.PlatformException
      Siehe auch:
      • TerminalConnection.getTerminalConnectionCapabilities(Terminal, Address)
    • hold

      public void hold() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException
      Puts a call on hold. NOTE: Some device / switch combinations don't support HoldCall. In this case, a MethodNotSupportedException will be thrown.
      Angegeben von:
      hold in Schnittstelle javax.telephony.callcontrol.CallControlTerminalConnection
      Löst aus:
      javax.telephony.InvalidStateException
      javax.telephony.MethodNotSupportedException
      javax.telephony.PrivilegeViolationException
      javax.telephony.ResourceUnavailableException
      Siehe auch:
      • CallControlTerminalConnection.hold()
    • join

      public void join() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException
      This method is not supported by the current implementation and will throw a MethodNotSupportedException. Do not call this method.
      Angegeben von:
      join in Schnittstelle javax.telephony.callcontrol.CallControlTerminalConnection
      Löst aus:
      javax.telephony.InvalidStateException
      javax.telephony.MethodNotSupportedException
      javax.telephony.PrivilegeViolationException
      javax.telephony.ResourceUnavailableException
      Siehe auch:
      • CallControlTerminalConnection.join()
    • leave

      public void leave() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException
      This method is not supported by the current implementation and will throw a MethodNotSupportedException. Do not call this method.
      Angegeben von:
      leave in Schnittstelle javax.telephony.callcontrol.CallControlTerminalConnection
      Löst aus:
      javax.telephony.InvalidStateException
      javax.telephony.MethodNotSupportedException
      javax.telephony.PrivilegeViolationException
      javax.telephony.ResourceUnavailableException
      Siehe auch:
      • CallControlTerminalConnection.leave()
    • unhold

      public void unhold() throws javax.telephony.InvalidStateException, javax.telephony.MethodNotSupportedException, javax.telephony.PrivilegeViolationException, javax.telephony.ResourceUnavailableException
      Retreives a previously held call. NOTE: Some device / switch combinations don't support RetrieveCall. In this case, a MethodNotSupportedException will be thrown.
      Angegeben von:
      unhold in Schnittstelle javax.telephony.callcontrol.CallControlTerminalConnection
      Löst aus:
      javax.telephony.InvalidStateException
      javax.telephony.MethodNotSupportedException
      javax.telephony.PrivilegeViolationException
      javax.telephony.ResourceUnavailableException
      Siehe auch:
      • CallControlTerminalConnection.unhold()
    • getCallControlState

      public int getCallControlState()
      Angegeben von:
      getCallControlState in Schnittstelle javax.telephony.callcontrol.CallControlTerminalConnection
    • getState

      public int getState()
      Angegeben von:
      getState in Schnittstelle javax.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 Schnittstelle javax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
      Siehe auch:
      • CallControlTerminalConnectionCapabilities.canHold()
    • canJoin

      public boolean canJoin()
      Angegeben von:
      canJoin in Schnittstelle javax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
      Siehe auch:
      • CallControlTerminalConnectionCapabilities.canJoin()
    • canLeave

      public boolean canLeave()
      Angegeben von:
      canLeave in Schnittstelle javax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
      Siehe auch:
      • CallControlTerminalConnectionCapabilities.canLeave()
    • canUnhold

      public boolean canUnhold()
      Angegeben von:
      canUnhold in Schnittstelle javax.telephony.callcontrol.capabilities.CallControlTerminalConnectionCapabilities
      Siehe auch:
      • CallControlTerminalConnectionCapabilities.canUnhold()
    • canAnswer

      public boolean canAnswer()
      Angegeben von:
      canAnswer in Schnittstelle javax.telephony.capabilities.TerminalConnectionCapabilities
      Siehe auch:
      • TerminalConnectionCapabilities.canAnswer()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object