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

📄 jxtasocket.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/socket/JxtaSocket.html#write(byte[], int, int)">write</A></B>(byte[]&nbsp;buf,      int&nbsp;offset,      int&nbsp;length)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs on behalf of JxtaSocketOutputStream.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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="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="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="myPipeAdv"><!-- --></A><H3>myPipeAdv</H3><PRE>protected <A HREF="../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A> <B>myPipeAdv</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="peerid"><!-- --></A><H3>peerid</H3><PRE>protected <A HREF="../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> <B>peerid</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="connectOutpipe"><!-- --></A><H3>connectOutpipe</H3><PRE>protected <A HREF="../../../net/jxta/pipe/OutputPipe.html" title="interface in net.jxta.pipe">OutputPipe</A> <B>connectOutpipe</B></PRE><DL><DL></DL></DL><HR><A NAME="msgr"><!-- --></A><H3>msgr</H3><PRE>protected <A HREF="../../../net/jxta/endpoint/Messenger.html" title="interface in net.jxta.endpoint">Messenger</A> <B>msgr</B></PRE><DL><DL></DL></DL><HR><A NAME="stream"><!-- --></A><H3>stream</H3><PRE>protected java.io.InputStream <B>stream</B></PRE><DL><DL></DL></DL><HR><A NAME="timeout"><!-- --></A><H3>timeout</H3><PRE>protected int <B>timeout</B></PRE><DL><DL></DL></DL><HR><A NAME="windowSize"><!-- --></A><H3>windowSize</H3><PRE>protected int <B>windowSize</B></PRE><DL><DL></DL></DL><HR><A NAME="closeLock"><!-- --></A><H3>closeLock</H3><PRE>protected java.lang.String <B>closeLock</B></PRE><DL><DL></DL></DL><HR><A NAME="acceptLock"><!-- --></A><H3>acceptLock</H3><PRE>protected java.lang.String <B>acceptLock</B></PRE><DL><DL></DL></DL><HR><A NAME="instrLock"><!-- --></A><H3>instrLock</H3><PRE>protected java.lang.String <B>instrLock</B></PRE><DL><DL></DL></DL><HR><A NAME="finalLock"><!-- --></A><H3>finalLock</H3><PRE>protected java.lang.String <B>finalLock</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/UnbiasedQueue.html" title="class in net.jxta.impl.util">UnbiasedQueue</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><HR><A NAME="isStream"><!-- --></A><H3>isStream</H3><PRE>protected boolean <B>isStream</B></PRE><DL><DL></DL></DL><HR><A NAME="outgoing"><!-- --></A><H3>outgoing</H3><PRE>protected <A HREF="../../../net/jxta/impl/util/pipe/reliable/OutgoingMsgrAdaptor.html" title="class in net.jxta.impl.util.pipe.reliable">OutgoingMsgrAdaptor</A> <B>outgoing</B></PRE><DL><DL></DL></DL><HR><A NAME="ris"><!-- --></A><H3>ris</H3><PRE>protected <A HREF="../../../net/jxta/impl/util/pipe/reliable/ReliableInputStream.html" title="class in net.jxta.impl.util.pipe.reliable">ReliableInputStream</A> <B>ris</B></PRE><DL><DL></DL></DL><HR><A NAME="ros"><!-- --></A><H3>ros</H3><PRE>protected <A HREF="../../../net/jxta/impl/util/pipe/reliable/ReliableOutputStream.html" title="class in net.jxta.impl.util.pipe.reliable">ReliableOutputStream</A> <B>ros</B></PRE><DL><DL></DL></DL><HR><A NAME="waiting"><!-- --></A><H3>waiting</H3><PRE>protected boolean <B>waiting</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="JxtaSocket()"><!-- --></A><H3>JxtaSocket</H3><PRE>public <B>JxtaSocket</B>()</PRE><DL><DD>Constructor for the JxtaSocket, this constructor does not establish a connection  use this constructor when altering the default parameters, and options of the socket  by default connections are unreliable, and the default timeout is 60 seconds  to alter a connection a call to create(true) changes the connectin to a reliable one.<P></DL><HR><A NAME="JxtaSocket(net.jxta.peergroup.PeerGroup, net.jxta.endpoint.Messenger, net.jxta.protocol.PipeAdvertisement, boolean)"><!-- --></A><H3>JxtaSocket</H3><PRE>protected <B>JxtaSocket</B>(<A HREF="../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A>&nbsp;group,                     <A HREF="../../../net/jxta/endpoint/Messenger.html" title="interface in net.jxta.endpoint">Messenger</A>&nbsp;msgr,                     <A HREF="../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A>&nbsp;pipe,                     boolean&nbsp;isStream)              throws java.io.IOException</PRE><DL><DD>Constructor for the JxtaSocket, this constructor does not establish a connection  use this constructor when altering the default parameters, and options of the socket  by default connections are unreliable, and the default timeout is 60 seconds  to alter a connection a call to create(true) changes the connectin to a reliable one.<P><DT><B>Parameters:</B><DD><CODE>group</CODE> - group context<DD><CODE>msgr</CODE> - lightweight output pipe<DD><CODE>pipe</CODE> - PipeAdvertisement<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an io error occurs</DL><HR><A NAME="JxtaSocket(net.jxta.peergroup.PeerGroup, net.jxta.protocol.PipeAdvertisement)"><!-- --></A><H3>JxtaSocket</H3><PRE>public <B>JxtaSocket</B>(<A HREF="../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A>&nbsp;group,                  <A HREF="../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A>&nbsp;pipeAd)           throws java.io.IOException</PRE><DL><DD>Create a JxtaSocket to any peer listening on pipeAdv<P><DT><B>Parameters:</B><DD><CODE>group</CODE> - group context<DD><CODE>pipeAd</CODE> - PipeAdvertisement<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an io error occurs</DL>

⌨️ 快捷键说明

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