⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 java.telephony.jtapipeer.html

📁 JTAPI_html 用于JTAPI的HTML文档.
💻 HTML
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title>  Interface java.telephony.JtapiPeer</title></head><body><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.html">This Package</a>  <a href="java.telephony.Connection.html#_top_">Previous</a>  <a href="java.telephony.Provider.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Interface java.telephony.JtapiPeer</h1><dl>  <dt> public interface <b>JtapiPeer</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>The JtapiPeer interface represents a vendor's particular implementationof the Java Telephony API. Each vendor which provides an implementation ofJTAPI must implement this interface.<p>Applications use the <EM>getProvider()</EM> method on this interfaceto obtain new Provider objects. Each implementation may support one ormore different "services" (e.g. for different types of underlying networksubstrate). A list of available services can be obtained via the<EM>getServices()</EM> method.<p>Applications may also supply optional arguments to the Provider. Thesearguments are appended to the string argument passed to the<EM>getProvider()</EM> method. The string argument has the followingformat:<p>&lt service name &gt ; arg1 = val1; arg2 = val2; ...<p>Where &lt service name &gt is not optional, and each optional argument pairwhich follows is separated by a semi-colon. The keys for these argumentsis implementation specific, except for two standard-defined keys:<OL><LI>login: provides the login user name to the Provider.<LI>passwd: provides a password to the Provider.</OL><hr><a name="index"></a><h2>  <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getName()"><b>getName</b></a>()  <dd> Returns the name of this JtapiPeer object instance.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getProvider(java.lang.String)"><b>getProvider</b></a>(String)  <dd> Returns an instance of a Provider object given a string argument whichcontains the desired service name.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getServices()"><b>getServices</b></a>()  <dd> Returns the services that this implementation supports.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getName"><b>getName</b></a><pre>  public abstract <a href="java.lang.String.html#_top_">String</a> getName() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the name of this JtapiPeer object instance. This name is the samename used as an argument to <EM>JtapiPeerFactory.getJtapiPeer()</EM>method.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The name of this JtapiPeer object instance.  </dl></dl><a name="getServices()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getServices"><b>getServices</b></a><pre>  public abstract <a href="java.lang.String.html#_top_">String</a>[] getServices() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the services that this implementation supports.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The services that this implementation supports.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getProvider(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getProvider"><b>getProvider</b></a><pre>  public abstract <a href="java.telephony.Provider.html#_top_">Provider</a> getProvider(<a href="java.lang.String.html#_top_">String</a> providerString) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns an instance of a Provider object given a string argument whichcontains the desired service name. Optional arguments may also beprovided in this string, with the following format:<p>&lt service name &gt ; arg1 = val1; arg2 = val2; ...<p>Where &lt service name &gt is not optional, and each optional argument pairwhich follows is separated by a semi-colon. The keys for these argumentsis implementation specific, except for two standard-defined keys:<OL><LI>login: provides the login user name to the Provider.<LI>passwd: provides a password to the Provider.</OL><p>If the argument is null, this method returns some default Provider asdetermined by the object which implements this interface.<p>The Provider returned is in the Provider.OUT_OF_SERVICE state, leadingto the following post-conditions:<OL><LI>getProvider().getState() == Provider.OUT_OF_SERVICE.</OL>  <dl>    <dt> <b>Parameters:</b>    <dd> providerString - The name of the desired service plus an optionalarguments.    <dt> <b>Returns:</b>    <dd> An instance of the Provider object.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><hr><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.html">This Package</a>  <a href="java.telephony.Connection.html#_top_">Previous</a>  <a href="java.telephony.Provider.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -