Java Programmer's Guide and Reference


JtapiPeerFactory class

Applications use the JtapiPeerFactory class to obtain access to a particular JTAPI implementation, including the implementation associated with the CallPath Enterprise Server. The JtapiPeerFactory class and the CallPath Enterprise Server implementation are included in the ibmcpath.jar file.

Methods

Following is the JtapiPeerFactory class method:

getJtapiPeer(String) 

By default, the getJtapiPeer() method returns a JtapiPeer object that, in turn, enables applications to obtain Provider objects capable of communicating with CallPath Enterprise Servers. (Ensure that the ibmcpath.jar file is the first JTAPI implementation in the CLASSPATH.)

You can also return the same JtapiPeer object by specifying the following string as a getJtapiPeer() argument:

"com.ibm.telephony.callpath.CSAJtapiPeer"
Note:
An applet cannot use the JtapiPeerFactory class to obtain a JtapiPeer object. For information about how an applet can instantiate the JtapiPeer, see JTAPI example.

For more information about the JtapiPeerFactory class, refer to the information about JtapiPeerFactory in the JavaSoft JTAPI 1.2 documentation.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]