1 20 package org.apache.mina.common; 21 22 import java.io.IOException ; 23 import java.net.SocketAddress ; 24 25 44 public interface IoAcceptor extends IoService { 45 51 void bind(SocketAddress address, IoHandler handler) throws IOException ; 52 53 60 void bind(SocketAddress address, IoHandler handler, IoServiceConfig config) 61 throws IOException ; 62 63 67 void unbind(SocketAddress address); 68 69 72 void unbindAll(); 73 74 88 IoSession newSession(SocketAddress remoteAddress, SocketAddress localAddress); 89 } | Popular Tags |