de.ilink.cti.cstajtapi
Class AddressDummyImpl

java.lang.Object
  extended by de.ilink.cti.cstajtapi.AddressDummyImpl
All Implemented Interfaces:
ExtendedAddress, javax.telephony.Address, javax.telephony.capabilities.AddressCapabilities

public class AddressDummyImpl
extends java.lang.Object
implements ExtendedAddress, javax.telephony.capabilities.AddressCapabilities

Implementation of a dummy address object for calledAddress, lastRedirectionAddress, etc.

(c) 2002,2003 ilink Kommunikationssysteme GmbH

Version:
$Id: AddressDummyImpl.java,v 1.4 2003-05-13 14:45:25 lars Exp $
Author:
lars@ilink.de

Field Summary
 
Fields inherited from interface de.ilink.cti.cstajtapi.extensions.ExtendedAddress
DEVICE_STATE_IN_SERVICE, DEVICE_STATE_OUT_OF_SERVICE, DEVICE_STATE_UNKNOWN
 
Constructor Summary
protected AddressDummyImpl(java.lang.String aNumber, javax.telephony.Provider aProvider)
           
 
Method Summary
 void addAddressListener(javax.telephony.AddressListener arg0)
           
 void addCallListener(javax.telephony.CallListener arg0)
           
 void addCallObserver(javax.telephony.CallObserver arg0)
           
 void addObserver(javax.telephony.AddressObserver arg0)
           
 boolean equals(java.lang.Object anObject)
           
 javax.telephony.capabilities.AddressCapabilities getAddressCapabilities(javax.telephony.Terminal arg0)
          Deprecated.  
 javax.telephony.AddressListener[] getAddressListeners()
           
 javax.telephony.CallListener[] getCallListeners()
           
 javax.telephony.CallObserver[] getCallObservers()
           
 javax.telephony.capabilities.AddressCapabilities getCapabilities()
           
 javax.telephony.Connection[] getConnections()
           
 int getDeviceState()
           
 java.lang.String getName()
           
 javax.telephony.AddressObserver[] getObservers()
           
 javax.telephony.Provider getProvider()
           
 javax.telephony.Terminal[] getTerminals()
           
 boolean isObservable()
           
 void removeAddressListener(javax.telephony.AddressListener arg0)
           
 void removeCallListener(javax.telephony.CallListener arg0)
           
 void removeCallObserver(javax.telephony.CallObserver arg0)
           
 void removeObserver(javax.telephony.AddressObserver arg0)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressDummyImpl

protected AddressDummyImpl(java.lang.String aNumber,
                           javax.telephony.Provider aProvider)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface javax.telephony.Address
See Also:
Address.getName()

getProvider

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

getTerminals

public javax.telephony.Terminal[] getTerminals()
Specified by:
getTerminals in interface javax.telephony.Address
See Also:
Address.getTerminals()

getConnections

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

addObserver

public void addObserver(javax.telephony.AddressObserver arg0)
                 throws javax.telephony.ResourceUnavailableException,
                        javax.telephony.MethodNotSupportedException
Specified by:
addObserver in interface javax.telephony.Address
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException
See Also:
Address.addObserver(AddressObserver)

getObservers

public javax.telephony.AddressObserver[] getObservers()
Specified by:
getObservers in interface javax.telephony.Address
See Also:
Address.getObservers()

removeObserver

public void removeObserver(javax.telephony.AddressObserver arg0)
Specified by:
removeObserver in interface javax.telephony.Address
See Also:
Address.removeObserver(AddressObserver)

addCallObserver

public void addCallObserver(javax.telephony.CallObserver arg0)
                     throws javax.telephony.ResourceUnavailableException,
                            javax.telephony.MethodNotSupportedException
Specified by:
addCallObserver in interface javax.telephony.Address
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException
See Also:
Address.addCallObserver(CallObserver)

getCallObservers

public javax.telephony.CallObserver[] getCallObservers()
Specified by:
getCallObservers in interface javax.telephony.Address
See Also:
Address.getCallObservers()

removeCallObserver

public void removeCallObserver(javax.telephony.CallObserver arg0)
Specified by:
removeCallObserver in interface javax.telephony.Address
See Also:
Address.removeCallObserver(CallObserver)

getCapabilities

public javax.telephony.capabilities.AddressCapabilities getCapabilities()
Specified by:
getCapabilities in interface javax.telephony.Address
See Also:
Address.getCapabilities()

getAddressCapabilities

public javax.telephony.capabilities.AddressCapabilities getAddressCapabilities(javax.telephony.Terminal arg0)
                                                                        throws javax.telephony.InvalidArgumentException,
                                                                               javax.telephony.PlatformException
Deprecated. 

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

addAddressListener

public void addAddressListener(javax.telephony.AddressListener arg0)
                        throws javax.telephony.ResourceUnavailableException,
                               javax.telephony.MethodNotSupportedException
Specified by:
addAddressListener in interface javax.telephony.Address
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException
See Also:
Address.addAddressListener(AddressListener)

getAddressListeners

public javax.telephony.AddressListener[] getAddressListeners()
Specified by:
getAddressListeners in interface javax.telephony.Address
See Also:
Address.getAddressListeners()

removeAddressListener

public void removeAddressListener(javax.telephony.AddressListener arg0)
Specified by:
removeAddressListener in interface javax.telephony.Address
See Also:
Address.removeAddressListener(AddressListener)

addCallListener

public void addCallListener(javax.telephony.CallListener arg0)
                     throws javax.telephony.ResourceUnavailableException,
                            javax.telephony.MethodNotSupportedException
Specified by:
addCallListener in interface javax.telephony.Address
Throws:
javax.telephony.ResourceUnavailableException
javax.telephony.MethodNotSupportedException
See Also:
Address.addCallListener(CallListener)

getCallListeners

public javax.telephony.CallListener[] getCallListeners()
Specified by:
getCallListeners in interface javax.telephony.Address
See Also:
Address.getCallListeners()

removeCallListener

public void removeCallListener(javax.telephony.CallListener arg0)
Specified by:
removeCallListener in interface javax.telephony.Address
See Also:
Address.removeCallListener(CallListener)

equals

public boolean equals(java.lang.Object anObject)
Overrides:
equals in class java.lang.Object

isObservable

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

getDeviceState

public int getDeviceState()
Specified by:
getDeviceState in interface ExtendedAddress
See Also:
ExtendedAddress.getDeviceState()


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