### Question:
Tcp2Listener implements Transport<SessionListener<SocketChannel>>,
	AcceptHandlerFactory { void stop() throws IOException { started = false; MyAcceptHandler h = setHandler( null ); if (h != null) { h.cancel(); } } Tcp2Listener( String uri, Resources resources );  Tcp2Listener( URL uri, Resources resources ); private  Tcp2Listener( String host, Integer port, int backlog,
		Resources resources ); @Override String toString(); SessionListener<SocketChannel> getSession(); void setSession( SessionListener<SocketChannel> session ); Object transportQuery( Object query ); void transportControl( Object control, Object value ); void transportNotify( Object event ); AcceptHandler newAcceptHandler( ServerSocketChannel channel ); String getHost(); int getPort(); int getBacklog(); static final String ALL_INTFS; }### Answer:
@Test public void stop1() throws Exception { Tcp2Listener l = new Tcp2Listener( "tcp: l.stop(); }