📄 ioservicelistenersupport.html
字号:
</TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="IoServiceListenerSupport(org.apache.mina.common.IoService)"><!-- --></A><H3>IoServiceListenerSupport</H3><PRE>public <B>IoServiceListenerSupport</B>(<A HREF="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</A> service)</PRE><DL><DD>Creates a new instance.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="add(org.apache.mina.common.IoServiceListener)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</A> listener)</PRE><DL><DD>Adds a new listener.<P><DD><DL></DL></DD></DL><HR><A NAME="remove(org.apache.mina.common.IoServiceListener)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</A> listener)</PRE><DL><DD>Removes an existing listener.<P><DD><DL></DL></DD></DL><HR><A NAME="getActivationTime()"><!-- --></A><H3>getActivationTime</H3><PRE>public long <B>getActivationTime</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getManagedSessions()"><!-- --></A><H3>getManagedSessions</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</A>> <B>getManagedSessions</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getManagedSessionCount()"><!-- --></A><H3>getManagedSessionCount</H3><PRE>public int <B>getManagedSessionCount</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getLargestManagedSessionCount()"><!-- --></A><H3>getLargestManagedSessionCount</H3><PRE>public int <B>getLargestManagedSessionCount</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCumulativeManagedSessionCount()"><!-- --></A><H3>getCumulativeManagedSessionCount</H3><PRE>public long <B>getCumulativeManagedSessionCount</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isActive()"><!-- --></A><H3>isActive</H3><PRE>public boolean <B>isActive</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="fireServiceActivated()"><!-- --></A><H3>fireServiceActivated</H3><PRE>public void <B>fireServiceActivated</B>()</PRE><DL><DD>Calls <A HREF="../../../../org/apache/mina/common/IoServiceListener.html#serviceActivated(org.apache.mina.common.IoService)"><CODE>IoServiceListener.serviceActivated(IoService)</CODE></A> for all registered listeners.<P><DD><DL></DL></DD></DL><HR><A NAME="fireServiceIdle(org.apache.mina.common.IdleStatus)"><!-- --></A><H3>fireServiceIdle</H3><PRE>public void <B>fireServiceIdle</B>(<A HREF="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</A> status)</PRE><DL><DD>Calls <A HREF="../../../../org/apache/mina/common/IoServiceListener.html#serviceIdle(org.apache.mina.common.IoService, org.apache.mina.common.IdleStatus)"><CODE>IoServiceListener.serviceIdle(IoService, IdleStatus)</CODE></A> for all registered listeners.<P><DD><DL></DL></DD></DL><HR><A NAME="fireServiceDeactivated()"><!-- --></A><H3>fireServiceDeactivated</H3><PRE>public void <B>fireServiceDeactivated</B>()</PRE><DL><DD>Calls <A HREF="../../../../org/apache/mina/common/IoServiceListener.html#serviceDeactivated(org.apache.mina.common.IoService)"><CODE>IoServiceListener.serviceDeactivated(IoService)</CODE></A> for all registered listeners.<P><DD><DL></DL></DD></DL><HR><A NAME="fireSessionCreated(org.apache.mina.common.IoSession)"><!-- --></A><H3>fireSessionCreated</H3><PRE>public void <B>fireSessionCreated</B>(<A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</A> session)</PRE><DL><DD>Calls <A HREF="../../../../org/apache/mina/common/IoServiceListener.html#sessionCreated(org.apache.mina.common.IoSession)"><CODE>IoServiceListener.sessionCreated(IoSession)</CODE></A> for all registered listeners.<P><DD><DL></DL></DD></DL><HR><A NAME="fireSessionDestroyed(org.apache.mina.common.IoSession)"><!-- --></A><H3>fireSessionDestroyed</H3><PRE>public void <B>fireSessionDestroyed</B>(<A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</A> session)</PRE><DL><DD>Calls <A HREF="../../../../org/apache/mina/common/IoServiceListener.html#sessionDestroyed(org.apache.mina.common.IoSession)"><CODE>IoServiceListener.sessionDestroyed(IoSession)</CODE></A> for all registered listeners.<P><DD><DL></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=2 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/IoServiceListenerSupport.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common"><B>PREV CLASS</B></A> <A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/mina/common/IoServiceListenerSupport.html" target="_top"><B>FRAMES</B></A> <A HREF="IoServiceListenerSupport.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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>Copyright 漏 2004-2008 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -