📄 wirepipeimpl.html
字号:
</TR></TABLE><A NAME="WireName"><!-- --></A><H3>WireName</H3><PRE>public static final java.lang.String <B>WireName</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.pipe.WirePipeImpl.WireName">Constant Field Values</A></DL></DL><HR><A NAME="WireTagName"><!-- --></A><H3>WireTagName</H3><PRE>public static final java.lang.String <B>WireTagName</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.pipe.WirePipeImpl.WireTagName">Constant Field Values</A></DL></DL><HR><A NAME="WireServiceName"><!-- --></A><H3>WireServiceName</H3><PRE>public static final java.lang.String <B>WireServiceName</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.pipe.WirePipeImpl.WireServiceName">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="WirePipeImpl(net.jxta.peergroup.PeerGroup, net.jxta.impl.pipe.PipeResolver)"><!-- --></A><H3>WirePipeImpl</H3><PRE><B>WirePipeImpl</B>(<A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> group, <A HREF="../../../../net/jxta/impl/pipe/PipeResolver.html" title="class in net.jxta.impl.pipe">PipeResolver</A> pipeResolver)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getServiceParameter()"><!-- --></A><H3>getServiceParameter</H3><PRE>public java.lang.String <B>getServiceParameter</B>()</PRE><DL><DD>To support WirePipe.send(Message, Enumeration)<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getServiceName()"><!-- --></A><H3>getServiceName</H3><PRE>public java.lang.String <B>getServiceName</B>()</PRE><DL><DD>To support WirePipe.send(Message, Enumeration)<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="startApp(java.lang.String[])"><!-- --></A><H3>startApp</H3><PRE>public int <B>startApp</B>(java.lang.String[] arg)</PRE><DL><DD>Supply arguments and starts this service if it hadn't started by itself. Currently this service does not expect arguments.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>arg</CODE> - A table of strings arguments.<DT><B>Returns:</B><DD>int status indication.</DL></DD></DL><HR><A NAME="stopApp()"><!-- --></A><H3>stopApp</H3><PRE>public void <B>stopApp</B>()</PRE><DL><DD>Ask this service to stop.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="createInputPipe(net.jxta.protocol.PipeAdvertisement, net.jxta.pipe.PipeMsgListener)"><!-- --></A><H3>createInputPipe</H3><PRE><A HREF="../../../../net/jxta/pipe/InputPipe.html" title="interface in net.jxta.pipe">InputPipe</A> <B>createInputPipe</B>(<A HREF="../../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A> adv, <A HREF="../../../../net/jxta/pipe/PipeMsgListener.html" title="interface in net.jxta.pipe">PipeMsgListener</A> listener) throws java.io.IOException</PRE><DL><DD>create an InputPipe from a pipe Advertisement<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>adv</CODE> - is the advertisement of the PipeServiceImpl.<DD><CODE>listener</CODE> - PipeMsgListener to receive msgs.<DT><B>Returns:</B><DD>InputPipe InputPipe object created<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - error creating input pipe</DL></DD></DL><HR><A NAME="createOutputPipe(net.jxta.protocol.PipeAdvertisement, java.util.Set)"><!-- --></A><H3>createOutputPipe</H3><PRE><A HREF="../../../../net/jxta/impl/pipe/NonBlockingWireOutputPipe.html" title="class in net.jxta.impl.pipe">NonBlockingWireOutputPipe</A> <B>createOutputPipe</B>(<A HREF="../../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A> adv, java.util.Set peers)</PRE><DL><DD>create an OutputPipe from the pipe Advertisement giving a PeerId(s) where the corresponding InputPipe is supposed to be.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>adv</CODE> - is the advertisement of the NetPipe.<DD><CODE>peers</CODE> - is an enumeration of the PeerId of the peers where to look for the corresponding Pipes<DT><B>Returns:</B><DD>OuputPipe<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if none of the peers in the enumeration has the corresponding OutputPipe</DL></DD></DL><HR><A NAME="processIncomingMessage(net.jxta.endpoint.Message, net.jxta.endpoint.EndpointAddress, net.jxta.endpoint.EndpointAddress)"><!-- --></A><H3>processIncomingMessage</H3><PRE>public void <B>processIncomingMessage</B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> message, <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> srcAddr, <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> dstAddr)</PRE><DL><DD>This method is invoked by the EndpointService for each incoming message which is addressed to this listener.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/endpoint/EndpointListener.html#processIncomingMessage(net.jxta.endpoint.Message, net.jxta.endpoint.EndpointAddress, net.jxta.endpoint.EndpointAddress)">processIncomingMessage</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/endpoint/EndpointListener.html" title="interface in net.jxta.endpoint">EndpointListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - Incoming message<DD><CODE>srcAddr</CODE> - Endpoint Address of the source of the message<DD><CODE>dstAddr</CODE> - Endpoint Address of the destination of the message</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WirePipeImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/jxta/impl/pipe/WirePipe.html" title="class in net.jxta.impl.pipe"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="WirePipeImpl.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -