javax.telephony
Interface Provider


public interface Provider

A Provider represents the telephony software-entity that interfaces with a telephony subsystem.


Field Summary
static int IN_SERVICE
          Supported.
This state indicates that a Provider is currently available for use.
static int OUT_OF_SERVICE
          Supported.
This state indicates that a Provider is currently not available for use.
static int SHUTDOWN
          Supported.
This state indicates that a Provider is permanently no longer available for use.
 
Method Summary
 void addObserver(ProviderObserver observer)
          Not supported. Thows MethodNotSupportedException.
Adds an observer to the Provider.
 void addProviderListener(ProviderListener listener)
          Supported.
Adds an listener to the Provider.
 Call createCall()
          Supported.
Creates and returns a new instance of the Call object.
 Address getAddress(java.lang.String number)
          Supported.
Returns an Address object which corresponds to the telephone number string provided.
 AddressCapabilities getAddressCapabilities()
          Not supported. Returns null.
Returns the static capabilities of the Address object.
 AddressCapabilities getAddressCapabilities(Terminal terminal)
          Not supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the Provider.getAddressCapabilities() method.
 Address[] getAddresses()
          Supported.
Returns an array of Addresses associated with the Provider and within the Provider's domain.
 CallCapabilities getCallCapabilities()
          Not supported. Returns null.
Returns the static capabilities of the Call object.
 CallCapabilities getCallCapabilities(Terminal terminal, Address address)
          Not supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the Provider.getCallCapabilities() method.
 Call[] getCalls()
          Not supported. Returns null.
Returns an array of Call objects currently associated with the Provider.
 ProviderCapabilities getCapabilities()
          Not supported. Returns null.
Returns the dynamic capabilities for the instance of the Provider object.
 ConnectionCapabilities getConnectionCapabilities()
          Not supported. Returns null.
Returns the static capabilities of the Connection object.
 ConnectionCapabilities getConnectionCapabilities(Terminal terminal, Address address)
          Not supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the Provider.getConnectionCapabilities() method.
 java.lang.String getName()
          Supported. Returns "BrProvider".
Returns the unique string name of this Provider.
 ProviderObserver[] getObservers()
          Not supported. Returns null.
Returns a list of all ProviderObservers associated with this Provider object.
 ProviderCapabilities getProviderCapabilities()
          Not supported. Returns null.
Returns the static capabilities of the Provider object.
 ProviderCapabilities getProviderCapabilities(Terminal terminal)
          Not supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the Provider.getProviderCapabilities() method.
 ProviderListener[] getProviderListeners()
          Supported.
Returns a list of all ProviderListeners associated with this Provider object.
 int getState()
          Supported.
Returns the current state of this Provider.
 Terminal getTerminal(java.lang.String name)
          Supported.
Returns an instance of the Terminal class which corresponds to the given name.
 TerminalCapabilities getTerminalCapabilities()
          Not supported. Returns null.
Returns the static capabilities of the Terminal object.
 TerminalCapabilities getTerminalCapabilities(Terminal terminal)
          Not supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the Provider.getTerminalCapabilities() method.
 TerminalConnectionCapabilities getTerminalConnectionCapabilities()
          Not supported. Returns null.
Returns the static capabilities of the TerminalConnection object.
 TerminalConnectionCapabilities getTerminalConnectionCapabilities(Terminal terminal)
          Not supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the Provider.getTerminalConnectionCapabilities() method.
 Terminal[] getTerminals()
          Supported.
Returns an array of Terminals associated with the Provider and within the Provider's domain.
 void removeObserver(ProviderObserver observer)
          Not supported.
Removes the given observer from the Provider.
 void removeProviderListener(ProviderListener listener)
          Supported.
Removes the given listener from the Provider.
 void shutdown()
          Supported.
Instructs the Provider to shut itself down and perform all necessary cleanup.
 void start()
          This is a vendor specific method. Supported.
Start the Provider and register SIP User names that the Provider uses to a SIP proxy server.