com.avaya.jtapi.tsapi
Interface ITsapiProvider

All Superinterfaces:
CallCenterProvider, Provider
All Known Subinterfaces:
LucentProvider, LucentV5Provider, LucentV7Provider

public interface ITsapiProvider
extends Provider, CallCenterProvider

ITsapiProvider adds methods to obtain vendor-specific version information.

See Also:
ITsapiPeer.addVendor(java.lang.String, java.lang.String)

Field Summary
static int TSAPI_IN_SERVICE
          The ITsapiProvider.TSAPI_IN_SERVICE state maps to the core JTAPI Provider.IN_SERVICE state.
static int TSAPI_INITIALIZING
          The ITsapiProvider.TSAPI_OUT_OF_SERVICE and ITsapiProvider.TSAPI_INITIALIZING states map to the core JTAPI Provider.OUT_OF_SERVICE state.
static int TSAPI_OUT_OF_SERVICE
          The ITsapiProvider.TSAPI_OUT_OF_SERVICE and ITsapiProvider.TSAPI_INITIALIZING states map to the core JTAPI Provider.OUT_OF_SERVICE state.
static int TSAPI_SHUTDOWN
          The ITsapiProvider.TSAPI_SHUTDOWN state maps to the core JTAPI Provider.SHUTDOWN state.
 
Fields inherited from interface javax.telephony.Provider
IN_SERVICE, OUT_OF_SERVICE, SHUTDOWN
 
Method Summary
 int getTsapiState()
          Returns the TSAPI state of the provider.
 java.lang.String getVendor()
          Returns the data vendor name.
 byte[] getVendorVersion()
          Returns the negotiated vendor data version.
 void setDebugPrinting(boolean enable)
          Enable/disable debug printing in the debug build version
 void updateAddresses()
          Query the TServer to update the list of Addresses returned by getAddresses()
 
Methods inherited from interface javax.telephony.Provider
addObserver, addProviderListener, createCall, getAddress, getAddressCapabilities, getAddressCapabilities, getAddresses, getCallCapabilities, getCallCapabilities, getCalls, getCapabilities, getConnectionCapabilities, getConnectionCapabilities, getName, getObservers, getProviderCapabilities, getProviderCapabilities, getProviderListeners, getState, getTerminal, getTerminalCapabilities, getTerminalCapabilities, getTerminalConnectionCapabilities, getTerminalConnectionCapabilities, getTerminals, removeObserver, removeProviderListener, shutdown
 
Methods inherited from interface javax.telephony.callcenter.CallCenterProvider
getACDAddresses, getACDManagerAddresses, getRouteableAddresses
 

Field Detail

TSAPI_OUT_OF_SERVICE

public static final int TSAPI_OUT_OF_SERVICE
The ITsapiProvider.TSAPI_OUT_OF_SERVICE and ITsapiProvider.TSAPI_INITIALIZING states map to the core JTAPI Provider.OUT_OF_SERVICE state.

See Also:
Constant Field Values

TSAPI_INITIALIZING

public static final int TSAPI_INITIALIZING
The ITsapiProvider.TSAPI_OUT_OF_SERVICE and ITsapiProvider.TSAPI_INITIALIZING states map to the core JTAPI Provider.OUT_OF_SERVICE state. The ITsapiProvider.TSAPI_INITIALIZING state implies that the provider is available to perform most actions, but hasn't completed its entire initialization. In this state, actions such as provider.getAddress(String) and provider.getTerminal(String) may succeed when the resulting Address or Terminal is actually outside of the provider's domain (and, hence, the request should really fail). Other actions, such as provider.getAddresses() and provider.getTerminals() may be requested in this state but will block until the provider goes ITsapiProvider.TSAPI_IN_SERVICE.

See Also:
Constant Field Values

TSAPI_IN_SERVICE

public static final int TSAPI_IN_SERVICE
The ITsapiProvider.TSAPI_IN_SERVICE state maps to the core JTAPI Provider.IN_SERVICE state.

See Also:
Constant Field Values

TSAPI_SHUTDOWN

public static final int TSAPI_SHUTDOWN
The ITsapiProvider.TSAPI_SHUTDOWN state maps to the core JTAPI Provider.SHUTDOWN state.

See Also:
Constant Field Values
Method Detail

getTsapiState

public int getTsapiState()
Returns the TSAPI state of the provider.


getVendor

public java.lang.String getVendor()
Returns the data vendor name.


getVendorVersion

public byte[] getVendorVersion()
Returns the negotiated vendor data version.


updateAddresses

public void updateAddresses()
Query the TServer to update the list of Addresses returned by getAddresses()


setDebugPrinting

public void setDebugPrinting(boolean enable)
Enable/disable debug printing in the debug build version



Copyright © 2005 Avaya All Rights Reserved.