jxtamulticastsocket.html
来自「jxta的api库」· HTML 代码 · 共 949 行 · 第 1/3 页
HTML
949 行
<TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#bind(java.net.SocketAddress)">bind</A></B>(java.net.SocketAddress addr)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#close()">close</A></B>()</CODE><BR> Closes this MutlicastSocket.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="../../../net/jxta/document/StructuredDocument.html" title="interface in net.jxta.document">StructuredDocument</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#getCredDoc(net.jxta.peergroup.PeerGroup)">getCredDoc</A></B>(<A HREF="../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> group)</CODE><BR> Obtain the cred doc from the group object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.net.InetAddress</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#getLocalAddress()">getLocalAddress</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.net.SocketAddress</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#getLocalSocketAddress()">getLocalSocketAddress</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#getSoTimeout()">getSoTimeout</A></B>()</CODE><BR> Gets the Timeout attribute of the JxtaMulticastSocket</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#isBound()">isBound</A></B>()</CODE><BR> Returns the binding state of the MutlicastSocket.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#isClosed()">isClosed</A></B>()</CODE><BR> Returns the closed state of the JxtaMulticastSocket.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#joinGroup(net.jxta.peergroup.PeerGroup, net.jxta.protocol.PipeAdvertisement)">joinGroup</A></B>(<A HREF="../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> group, <A HREF="../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A> pipeAd)</CODE><BR> joins MutlicastSocket to specified pipe within the context of group</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#pipeMsgEvent(net.jxta.pipe.PipeMsgEvent)">pipeMsgEvent</A></B>(<A HREF="../../../net/jxta/pipe/PipeMsgEvent.html" title="class in net.jxta.pipe">PipeMsgEvent</A> event)</CODE><BR> Called for each pipe message event that occurs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#receive(java.net.DatagramPacket)">receive</A></B>(java.net.DatagramPacket packet)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#send(java.net.DatagramPacket)">send</A></B>(java.net.DatagramPacket packet)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaMulticastSocket.html#setSoTimeout(int)">setSoTimeout</A></B>(int timeout)</CODE><BR> Sets the Timeout attribute of the JxtaMulticastSocket a timeout of 0 blocks forever, by default this Socket's timeout is set to 0</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.net.MulticastSocket"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.net.MulticastSocket</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getInterface, getLoopbackMode, getNetworkInterface, getTimeToLive, getTTL, joinGroup, joinGroup, leaveGroup, leaveGroup, send, setInterface, setLoopbackMode, setNetworkInterface, setTimeToLive, setTTL</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.net.DatagramSocket"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.net.DatagramSocket</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>connect, connect, disconnect, getBroadcast, getChannel, getInetAddress, getLocalPort, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getTrafficClass, isConnected, setBroadcast, setDatagramSocketImplFactory, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setTrafficClass</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="NAMESPACE"><!-- --></A><H3>NAMESPACE</H3><PRE>public static final java.lang.String <B>NAMESPACE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.socket.JxtaMulticastSocket.NAMESPACE">Constant Field Values</A></DL></DL><HR><A NAME="DATATAG"><!-- --></A><H3>DATATAG</H3><PRE>public static final java.lang.String <B>DATATAG</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.socket.JxtaMulticastSocket.DATATAG">Constant Field Values</A></DL></DL><HR><A NAME="SRCIDTAG"><!-- --></A><H3>SRCIDTAG</H3><PRE>public static final java.lang.String <B>SRCIDTAG</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.socket.JxtaMulticastSocket.SRCIDTAG">Constant Field Values</A></DL></DL><HR><A NAME="pipeAdv"><!-- --></A><H3>pipeAdv</H3><PRE>protected <A HREF="../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A> <B>pipeAdv</B></PRE><DL><DL></DL></DL><HR><A NAME="pipeSvc"><!-- --></A><H3>pipeSvc</H3><PRE>protected <A HREF="../../../net/jxta/pipe/PipeService.html" title="interface in net.jxta.pipe">PipeService</A> <B>pipeSvc</B></PRE><DL><DL></DL></DL><HR><A NAME="in"><!-- --></A><H3>in</H3><PRE>protected <A HREF="../../../net/jxta/pipe/InputPipe.html" title="interface in net.jxta.pipe">InputPipe</A> <B>in</B></PRE><DL><DL></DL></DL><HR><A NAME="group"><!-- --></A><H3>group</H3><PRE>protected <A HREF="../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> <B>group</B></PRE><DL><DL></DL></DL><HR><A NAME="socketAddress"><!-- --></A><H3>socketAddress</H3><PRE>protected java.net.SocketAddress <B>socketAddress</B></PRE><DL><DL></DL></DL><HR><A NAME="localAddress"><!-- --></A><H3>localAddress</H3><PRE>protected java.net.InetAddress <B>localAddress</B></PRE><DL><DL></DL></DL><HR><A NAME="outputPipe"><!-- --></A><H3>outputPipe</H3><PRE>protected <A HREF="../../../net/jxta/pipe/OutputPipe.html" title="interface in net.jxta.pipe">OutputPipe</A> <B>outputPipe</B></PRE><DL><DL></DL></DL><HR><A NAME="closed"><!-- --></A><H3>closed</H3><PRE>protected boolean <B>closed</B></PRE><DL><DL></DL></DL><HR><A NAME="bound"><!-- --></A><H3>bound</H3><PRE>protected boolean <B>bound</B></PRE><DL><DL></DL></DL><HR><A NAME="queue"><!-- --></A><H3>queue</H3><PRE>protected <A HREF="../../../net/jxta/impl/util/ProducerBiasedQueue.html" title="class in net.jxta.impl.util">ProducerBiasedQueue</A> <B>queue</B></PRE><DL><DL></DL></DL><HR><A NAME="credential"><!-- --></A><H3>credential</H3><PRE>protected <A HREF="../../../net/jxta/credential/Credential.html" title="interface in net.jxta.credential">Credential</A> <B>credential</B></PRE><DL><DL></DL></DL><HR><A NAME="credentialDoc"><!-- --></A><H3>credentialDoc</H3><PRE>protected <A HREF="../../../net/jxta/document/StructuredDocument.html" title="interface in net.jxta.document">StructuredDocument</A> <B>credentialDoc</B></PRE><DL><DL></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="JxtaMulticastSocket(net.jxta.peergroup.PeerGroup, net.jxta.protocol.PipeAdvertisement)"><!-- --></A><H3>JxtaMulticastSocket</H3><PRE>public <B>JxtaMulticastSocket</B>(<A HREF="../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> group, <A HREF="../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A> pipeAd) throws java.io.IOException</PRE><DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?