<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_04) on Sat Sep 03 11:41:03 KST 2005 --> | |
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<TITLE> | |
SimpleServiceRegistry (MINA 0.7.4 API) | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.mina.registry.SimpleServiceRegistry class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="SimpleServiceRegistry (MINA 0.7.4 API)"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" 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_top_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/SimpleServiceRegistry.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/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry"><B>PREV CLASS</B></A> | |
NEXT CLASS</FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/mina/registry/SimpleServiceRegistry.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="SimpleServiceRegistry.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_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.mina.registry</FONT> | |
<BR> | |
Class SimpleServiceRegistry</H2> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.mina.registry.SimpleServiceRegistry</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <B>SimpleServiceRegistry</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></DL> | |
</PRE> | |
<P> | |
A simple implementation of <A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry"><CODE>ServiceRegistry</CODE></A>. | |
This service registry supports socket, datagram, VM-pipe transport types, | |
and thread pools were added by default. | |
<P> | |
<P> | |
<DL> | |
<DT><B>Version:</B></DT> | |
<DD>$Rev: 264677 $, $Date: 2005-08-30 11:44:35 +0900 $,</DD> | |
<DT><B>Author:</B></DT> | |
<DD>Trustin Lee (trustin@apache.org)</DD> | |
</DL> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_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>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#datagramIoAcceptor">datagramIoAcceptor</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#datagramProtocolAcceptor">datagramProtocolAcceptor</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/io/filter/IoThreadPoolFilter.html" title="class in org.apache.mina.io.filter">IoThreadPoolFilter</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#ioThreadPoolFilter">ioThreadPoolFilter</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/protocol/filter/ProtocolThreadPoolFilter.html" title="class in org.apache.mina.protocol.filter">ProtocolThreadPoolFilter</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#protocolThreadPoolFilter">protocolThreadPoolFilter</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#socketIoAcceptor">socketIoAcceptor</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#socketProtocolAcceptor">socketProtocolAcceptor</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#vmPipeAcceptor">vmPipeAcceptor</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== 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/registry/SimpleServiceRegistry.html#SimpleServiceRegistry()">SimpleServiceRegistry</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== 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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#bind(org.apache.mina.registry.Service, org.apache.mina.io.IoHandler)">bind</A></B>(<A HREF="../../../../org/apache/mina/registry/Service.html" title="class in org.apache.mina.registry">Service</A> service, | |
<A HREF="../../../../org/apache/mina/io/IoHandler.html" title="interface in org.apache.mina.io">IoHandler</A> ioHandler)</CODE> | |
<BR> | |
Binds the specified I/O handler to the specified service.</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="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#bind(org.apache.mina.registry.Service, org.apache.mina.protocol.ProtocolProvider)">bind</A></B>(<A HREF="../../../../org/apache/mina/registry/Service.html" title="class in org.apache.mina.registry">Service</A> service, | |
<A HREF="../../../../org/apache/mina/protocol/ProtocolProvider.html" title="interface in org.apache.mina.protocol">ProtocolProvider</A> protocolProvider)</CODE> | |
<BR> | |
Binds the specified protocol provider to the specified service.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#findIoAcceptor(org.apache.mina.common.TransportType)">findIoAcceptor</A></B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#findProtocolAcceptor(org.apache.mina.common.TransportType)">findProtocolAcceptor</A></B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#getAllServices()">getAllServices</A></B>()</CODE> | |
<BR> | |
Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of all services bound in this registry.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#getIoAcceptor(org.apache.mina.common.TransportType)">getIoAcceptor</A></B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#getProtocolAcceptor(org.apache.mina.common.TransportType)">getProtocolAcceptor</A></B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#getServices(int)">getServices</A></B>(int port)</CODE> | |
<BR> | |
Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of services bound in this registry with the | |
specified port number.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#getServices(java.lang.String)">getServices</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE> | |
<BR> | |
Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of services bound in this registry with the | |
specified service(or protocol) name.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#getServices(org.apache.mina.common.TransportType)">getServices</A></B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</CODE> | |
<BR> | |
Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of services bound in this registry with the | |
specified transport type.</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="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#unbind(org.apache.mina.registry.Service)">unbind</A></B>(<A HREF="../../../../org/apache/mina/registry/Service.html" title="class in org.apache.mina.registry">Service</A> service)</CODE> | |
<BR> | |
Unbinds the specified service (and its aggregated I/O handler or | |
protocol provider).</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="../../../../org/apache/mina/registry/SimpleServiceRegistry.html#unbindAll()">unbindAll</A></B>()</CODE> | |
<BR> | |
Unbinds all services (and their aggregated I/O handlers or | |
protocol providers).</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"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></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"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="socketIoAcceptor"><!-- --></A><H3> | |
socketIoAcceptor</H3> | |
<PRE> | |
protected final <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A> <B>socketIoAcceptor</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="datagramIoAcceptor"><!-- --></A><H3> | |
datagramIoAcceptor</H3> | |
<PRE> | |
protected final <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A> <B>datagramIoAcceptor</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="socketProtocolAcceptor"><!-- --></A><H3> | |
socketProtocolAcceptor</H3> | |
<PRE> | |
protected final <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A> <B>socketProtocolAcceptor</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="datagramProtocolAcceptor"><!-- --></A><H3> | |
datagramProtocolAcceptor</H3> | |
<PRE> | |
protected final <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A> <B>datagramProtocolAcceptor</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="vmPipeAcceptor"><!-- --></A><H3> | |
vmPipeAcceptor</H3> | |
<PRE> | |
protected final <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A> <B>vmPipeAcceptor</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="ioThreadPoolFilter"><!-- --></A><H3> | |
ioThreadPoolFilter</H3> | |
<PRE> | |
protected final <A HREF="../../../../org/apache/mina/io/filter/IoThreadPoolFilter.html" title="class in org.apache.mina.io.filter">IoThreadPoolFilter</A> <B>ioThreadPoolFilter</B></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="protocolThreadPoolFilter"><!-- --></A><H3> | |
protocolThreadPoolFilter</H3> | |
<PRE> | |
protected final <A HREF="../../../../org/apache/mina/protocol/filter/ProtocolThreadPoolFilter.html" title="class in org.apache.mina.protocol.filter">ProtocolThreadPoolFilter</A> <B>protocolThreadPoolFilter</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"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="SimpleServiceRegistry()"><!-- --></A><H3> | |
SimpleServiceRegistry</H3> | |
<PRE> | |
public <B>SimpleServiceRegistry</B>()</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"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="bind(org.apache.mina.registry.Service, org.apache.mina.io.IoHandler)"><!-- --></A><H3> | |
bind</H3> | |
<PRE> | |
public void <B>bind</B>(<A HREF="../../../../org/apache/mina/registry/Service.html" title="class in org.apache.mina.registry">Service</A> service, | |
<A HREF="../../../../org/apache/mina/io/IoHandler.html" title="interface in org.apache.mina.io">IoHandler</A> ioHandler) | |
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#bind(org.apache.mina.registry.Service, org.apache.mina.io.IoHandler)">ServiceRegistry</A></CODE></B></DD> | |
<DD>Binds the specified I/O handler to the specified service. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#bind(org.apache.mina.registry.Service, org.apache.mina.io.IoHandler)">bind</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="bind(org.apache.mina.registry.Service, org.apache.mina.protocol.ProtocolProvider)"><!-- --></A><H3> | |
bind</H3> | |
<PRE> | |
public void <B>bind</B>(<A HREF="../../../../org/apache/mina/registry/Service.html" title="class in org.apache.mina.registry">Service</A> service, | |
<A HREF="../../../../org/apache/mina/protocol/ProtocolProvider.html" title="interface in org.apache.mina.protocol">ProtocolProvider</A> protocolProvider) | |
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#bind(org.apache.mina.registry.Service, org.apache.mina.protocol.ProtocolProvider)">ServiceRegistry</A></CODE></B></DD> | |
<DD>Binds the specified protocol provider to the specified service. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#bind(org.apache.mina.registry.Service, org.apache.mina.protocol.ProtocolProvider)">bind</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="unbind(org.apache.mina.registry.Service)"><!-- --></A><H3> | |
unbind</H3> | |
<PRE> | |
public void <B>unbind</B>(<A HREF="../../../../org/apache/mina/registry/Service.html" title="class in org.apache.mina.registry">Service</A> service)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#unbind(org.apache.mina.registry.Service)">ServiceRegistry</A></CODE></B></DD> | |
<DD>Unbinds the specified service (and its aggregated I/O handler or | |
protocol provider). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#unbind(org.apache.mina.registry.Service)">unbind</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="unbindAll()"><!-- --></A><H3> | |
unbindAll</H3> | |
<PRE> | |
public void <B>unbindAll</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#unbindAll()">ServiceRegistry</A></CODE></B></DD> | |
<DD>Unbinds all services (and their aggregated I/O handlers or | |
protocol providers). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#unbindAll()">unbindAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getIoAcceptor(org.apache.mina.common.TransportType)"><!-- --></A><H3> | |
getIoAcceptor</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A> <B>getIoAcceptor</B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getIoAcceptor(org.apache.mina.common.TransportType)">getIoAcceptor</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getProtocolAcceptor(org.apache.mina.common.TransportType)"><!-- --></A><H3> | |
getProtocolAcceptor</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A> <B>getProtocolAcceptor</B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getProtocolAcceptor(org.apache.mina.common.TransportType)">getProtocolAcceptor</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getAllServices()"><!-- --></A><H3> | |
getAllServices</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getAllServices</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getAllServices()">ServiceRegistry</A></CODE></B></DD> | |
<DD>Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of all services bound in this registry. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getAllServices()">getAllServices</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getServices(java.lang.String)"><!-- --></A><H3> | |
getServices</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getServices</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getServices(java.lang.String)">ServiceRegistry</A></CODE></B></DD> | |
<DD>Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of services bound in this registry with the | |
specified service(or protocol) name. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getServices(java.lang.String)">getServices</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getServices(org.apache.mina.common.TransportType)"><!-- --></A><H3> | |
getServices</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getServices</B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getServices(org.apache.mina.common.TransportType)">ServiceRegistry</A></CODE></B></DD> | |
<DD>Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of services bound in this registry with the | |
specified transport type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getServices(org.apache.mina.common.TransportType)">getServices</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getServices(int)"><!-- --></A><H3> | |
getServices</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getServices</B>(int port)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getServices(int)">ServiceRegistry</A></CODE></B></DD> | |
<DD>Returns <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of services bound in this registry with the | |
specified port number. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html#getServices(int)">getServices</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry">ServiceRegistry</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findIoAcceptor(org.apache.mina.common.TransportType)"><!-- --></A><H3> | |
findIoAcceptor</H3> | |
<PRE> | |
protected <A HREF="../../../../org/apache/mina/io/IoAcceptor.html" title="interface in org.apache.mina.io">IoAcceptor</A> <B>findIoAcceptor</B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findProtocolAcceptor(org.apache.mina.common.TransportType)"><!-- --></A><H3> | |
findProtocolAcceptor</H3> | |
<PRE> | |
protected <A HREF="../../../../org/apache/mina/protocol/ProtocolAcceptor.html" title="interface in org.apache.mina.protocol">ProtocolAcceptor</A> <B>findProtocolAcceptor</B>(<A HREF="../../../../org/apache/mina/common/TransportType.html" title="class in org.apache.mina.common">TransportType</A> transportType)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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/SimpleServiceRegistry.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/registry/ServiceRegistry.html" title="interface in org.apache.mina.registry"><B>PREV CLASS</B></A> | |
NEXT CLASS</FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/mina/registry/SimpleServiceRegistry.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="SimpleServiceRegistry.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> | |
Copyright © 2004-2005 . All Rights Reserved. | |
</BODY> | |
</HTML> |