|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avaya.jtapi.tsapi.TsapiPeer
TsapiPeer implements JtapiPeer.
Field Summary | |
static java.lang.String |
VERSION
|
Constructor Summary | |
TsapiPeer()
This constructor is used by JtapiPeerFactory to create an instance of the peer. |
Method Summary | |
void |
addVendor(java.lang.String name,
java.lang.String versions)
This method can be used to set the vendor the application wants to exchange data with. |
java.lang.String |
getName()
Returns the name of this JtapiPeer object instance. |
Provider |
getProvider(java.lang.String providerString)
Returns an instance of a Provider object given a string
argument which
contains the desired service name. |
java.lang.String[] |
getServices()
Returns the services that this implementation supports. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String VERSION
Constructor Detail |
public TsapiPeer()
Method Detail |
public java.lang.String getName()
JtapiPeer
getName
in interface JtapiPeer
public final java.lang.String[] getServices()
JtapiPeer
null
if no services as supported.
getServices
in interface JtapiPeer
public final Provider getProvider(java.lang.String providerString)
JtapiPeer
Provider
object given a string
argument which
contains the desired service name. Optional arguments may also be
provided in this string, with the following format:
< service name > ; arg1 = val1; arg2 = val2; ...
Where < service name > is not optional, and each optional argument pair which follows is separated by a semi-colon. The keys for these arguments is implementation specific, except for two standard-defined keys:
If the argument is null, this method returns some default Provider as
determined by the JtapiPeer object. The returned Provider is in the
Provider.OUT_OF_SERVICE
state.
Post-conditions:
getProvider
in interface JtapiPeer
providerString
- The name of the desired service plus an optional
arguments.
public final void addVendor(java.lang.String name, java.lang.String versions)
ITsapiPeer
This method should be invoked before the application invokes getProvider().
To set multiple vendors an application must invoke this method multiple times.
addVendor
in interface ITsapiPeer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |