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

📄 niodatagramconnector.html

📁 MINA+API 关于MINA的API
💻 HTML
📖 第 1 页 / 共 5 页
字号:
&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.mina.common.AbstractPollingIoConnector"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.mina.common.<A HREF="../../../../../../org/apache/mina/common/AbstractPollingIoConnector.html" title="class in org.apache.mina.common">AbstractPollingIoConnector</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../org/apache/mina/common/AbstractPollingIoConnector.ConnectionRequest.html" title="class in org.apache.mina.common">AbstractPollingIoConnector.ConnectionRequest</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.mina.common.AbstractIoService"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.mina.common.<A HREF="../../../../../../org/apache/mina/common/AbstractIoService.html" title="class in org.apache.mina.common">AbstractIoService</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../org/apache/mina/common/AbstractIoService.ServiceOperationFuture.html" title="class in org.apache.mina.common">AbstractIoService.ServiceOperationFuture</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#NioDatagramConnector()">NioDatagramConnector</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#NioDatagramConnector(int)">NioDatagramConnector</A></B>(int&nbsp;processorCount)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#NioDatagramConnector(org.apache.mina.common.IoProcessor)">NioDatagramConnector</A></B>(<A HREF="../../../../../../org/apache/mina/common/IoProcessor.html" title="interface in org.apache.mina.common">IoProcessor</A>&lt;org.apache.mina.transport.socket.nio.NioSession&gt;&nbsp;processor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance.</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/DatagramChannel.html?is-external=true" title="class or interface in java.nio.channels">DatagramChannel</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#allHandles()">allHandles</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#close(java.nio.channels.DatagramChannel)">close</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/DatagramChannel.html?is-external=true" title="class or interface in java.nio.channels">DatagramChannel</A>&nbsp;handle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#connect(java.nio.channels.DatagramChannel, java.net.SocketAddress)">connect</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/DatagramChannel.html?is-external=true" title="class or interface in java.nio.channels">DatagramChannel</A>&nbsp;handle,        <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</A>&nbsp;remoteAddress)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../../../org/apache/mina/common/AbstractPollingIoConnector.ConnectionRequest.html" title="class in org.apache.mina.common">AbstractPollingIoConnector.ConnectionRequest</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#connectionRequest(java.nio.channels.DatagramChannel)">connectionRequest</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/DatagramChannel.html?is-external=true" title="class or interface in java.nio.channels">DatagramChannel</A>&nbsp;handle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#destroy()">destroy</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#finishConnect(java.nio.channels.DatagramChannel)">finishConnect</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/DatagramChannel.html?is-external=true" title="class or interface in java.nio.channels">DatagramChannel</A>&nbsp;handle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#getDefaultRemoteAddress()">getDefaultRemoteAddress</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default remote address to connect to when no argument is specified in <A HREF="../../../../../../org/apache/mina/common/IoConnector.html#connect()"><CODE>IoConnector.connect()</CODE></A> method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../org/apache/mina/transport/socket/DatagramSessionConfig.html" title="interface in org.apache.mina.transport.socket">DatagramSessionConfig</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#getSessionConfig()">getSessionConfig</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default configuration of the new <A HREF="../../../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><CODE>IoSession</CODE></A>s created by this service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common">TransportMetadata</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/mina/transport/socket/nio/NioDatagramConnector.html#getTransportMetadata()">getTransportMetadata</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common"><CODE>TransportMetadata</CODE></A> that this service runs on.</TD></TR>

⌨️ 快捷键说明

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