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

📄 endpointlistener.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceInterface.html" title="class in net.jxta.impl.endpoint">EndpointServiceInterface</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The EndpointService Service provides a frontend API and enviroment to all endpoint protocols.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/endpoint/QuotaIncomingMessageListener.html" title="class in net.jxta.impl.endpoint">QuotaIncomingMessageListener</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/endpoint/package-summary.html">net.jxta.impl.endpoint</A> that return <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></CODE></FONT></TD><TD><CODE><B>QuotaIncomingMessageListener.</B><B><A HREF="../../../../net/jxta/impl/endpoint/QuotaIncomingMessageListener.html#getListener()">getListener</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the listener attribute of the QuotaIncomingMessageListener object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></CODE></FONT></TD><TD><CODE><B>EndpointServiceImpl.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceImpl.html#removeIncomingMessageListener(java.lang.String, java.lang.String)">removeIncomingMessageListener</A></B>(java.lang.String&nbsp;serviceName,                              java.lang.String&nbsp;serviceParam)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the listener for the specified address.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></CODE></FONT></TD><TD><CODE><B>EndpointServiceInterface.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceInterface.html#removeIncomingMessageListener(java.lang.String, java.lang.String)">removeIncomingMessageListener</A></B>(java.lang.String&nbsp;serviceName,                              java.lang.String&nbsp;serviceParam)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the listener for the specified address.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/endpoint/package-summary.html">net.jxta.impl.endpoint</A> with parameters of type <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>EndpointServiceImpl.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceImpl.html#addListener(java.lang.String, net.jxta.endpoint.EndpointListener)">addListener</A></B>(java.lang.String&nbsp;address,            <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers an incoming messages listener. <p/>Each incoming message addressed to the queue specified by the given address will be passed to the given listener. The address is usually formed by concatenating the the name of the invoking service and a parameter unique to that service accross all groups (the group ID is normally included for that purpose). <p/>For a message to match this address, it must have been sent through an EndpointMessenger obtained by providing an EndpointAddress constructed with matching serviceName and serviceParam (see newEndpointAddress and getMessenger), or by invoking propagate with matching serviceName and serviceParam. <p/>If a listener is already registered with the given address, an IllegalArgumentException is thrown.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>EndpointServiceImpl.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceImpl.html#removeListener(java.lang.String, net.jxta.endpoint.EndpointListener)">removeListener</A></B>(java.lang.String&nbsp;address,               <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the given listener previously registered under the given address.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>EndpointServiceImpl.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceImpl.html#addIncomingMessageListener(net.jxta.endpoint.EndpointListener, java.lang.String, java.lang.String)">addIncomingMessageListener</A></B>(<A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener,                           java.lang.String&nbsp;serviceName,                           java.lang.String&nbsp;serviceParam)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a listener for the specified address.  <p/>A single registered listener will be called for incoming messages  when (in order of preference) : <ol>  <li>The service name and service parameter match exactly to the  service name and service parameter specified in the destination  address of the message.</li>  <li>The service name matches exactly the service name from the message destination address and service parameter is null.</li> </ol></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>EndpointServiceInterface.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceInterface.html#addListener(java.lang.String, net.jxta.endpoint.EndpointListener)">addListener</A></B>(java.lang.String&nbsp;address,            <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers an incoming messages listener. <p/>Each incoming message addressed to the queue specified by the given address will be passed to the given listener. The address is usually formed by concatenating the the name of the invoking service and a parameter unique to that service accross all groups (the group ID is normally included for that purpose). <p/>For a message to match this address, it must have been sent through an EndpointMessenger obtained by providing an EndpointAddress constructed with matching serviceName and serviceParam (see newEndpointAddress and getMessenger), or by invoking propagate with matching serviceName and serviceParam. <p/>If a listener is already registered with the given address, an IllegalArgumentException is thrown.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>EndpointServiceInterface.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceInterface.html#removeListener(java.lang.String, net.jxta.endpoint.EndpointListener)">removeListener</A></B>(java.lang.String&nbsp;address,               <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the given listener previously registered under the given address.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>EndpointServiceInterface.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceInterface.html#addIncomingMessageListener(net.jxta.endpoint.EndpointListener, java.lang.String, java.lang.String)">addIncomingMessageListener</A></B>(<A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener,                           java.lang.String&nbsp;serviceName,                           java.lang.String&nbsp;serviceParam)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a listener for the specified address.  <p/>A single registered listener will be called for incoming messages  when (in order of preference) : <ol>  <li>The service name and service parameter match exactly to the  service name and service parameter specified in the destination  address of the message.</li>  <li>The service name matches exactly the service name from the message destination address and service parameter is null.</li> </ol></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../../net/jxta/impl/endpoint/package-summary.html">net.jxta.impl.endpoint</A> with parameters of type <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/impl/endpoint/QuotaIncomingMessageListener.html#QuotaIncomingMessageListener(net.jxta.endpoint.EndpointListener)">QuotaIncomingMessageListener</A></B>(<A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for the QuotaIncomingMessageListener object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/impl/endpoint/QuotaIncomingMessageListener.html#QuotaIncomingMessageListener(java.lang.String, net.jxta.endpoint.EndpointListener)">QuotaIncomingMessageListener</A></B>(java.lang.String&nbsp;name,                             <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for the QuotaIncomingMessageListener object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/impl/endpoint/QuotaIncomingMessageListener.html#QuotaIncomingMessageListener(java.lang.String, net.jxta.endpoint.EndpointListener, net.jxta.impl.endpoint.endpointMeter.InboundMeter)">QuotaIncomingMessageListener</A></B>(java.lang.String&nbsp;name,                             <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A>&nbsp;listener,                             <A HREF="../../../../net/jxta/impl/endpoint/endpointMeter/InboundMeter.html" title="class in net.jxta.impl.endpoint.endpointMeter">InboundMeter</A>&nbsp;incomingMessageListenerMeter)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for the QuotaIncomingMessageListener object</TD></TR></TABLE>&nbsp;<P><A NAME="net.jxta.impl.endpoint.cbjx"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A> in <A HREF="../../../../net/jxta/impl/endpoint/cbjx/package-summary.html">net.jxta.impl.endpoint.cbjx</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Classes in <A HREF="../../../../net/jxta/impl/endpoint/cbjx/package-summary.html">net.jxta.impl.endpoint.cbjx</A> that implement <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/endpoint/cbjx/CbJxTransport.html" title="class in net.jxta.impl.endpoint.cbjx">CbJxTransport</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A JXTA <A HREF="../../../../net/jxta/endpoint/MessageTransport.html" title="interface in net.jxta.endpoint"><CODE>MessageTransport</CODE></A> implementation which     which provides message verification by examining message signatures. </TD></TR></TABLE>&nbsp;<P><A NAME="net.jxta.impl.endpoint.relay"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A> in <A HREF="../../../../net/jxta/impl/endpoint/relay/package-summary.html">net.jxta.impl.endpoint.relay</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Classes in <A HREF="../../../../net/jxta/impl/endpoint/relay/package-summary.html">net.jxta.impl.endpoint.relay</A> that implement <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/endpoint/relay/RelayTransport.html" title="class in net.jxta.impl.endpoint.relay">RelayTransport</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Relay Server supports the following commands:  CONNECT - message contains PEERID, optional LEASE  DISCONNECT - message contains PEERID.  </TD></TR></TABLE>&nbsp;<P><A NAME="net.jxta.impl.endpoint.router"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A> in <A HREF="../../../../net/jxta/impl/endpoint/router/package-summary.html">net.jxta.impl.endpoint.router</A></FONT></TD></TR></TABLE>&nbsp;<P>

⌨️ 快捷键说明

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