@Test public void getAcceptorWithResourceAddressShouldReturnAcceptor() throws Exception { BridgeAcceptor acceptor = transport.getAcceptor(address); assertTrue(acceptor instanceof NioSocketAcceptor); }
@Override public BridgeAcceptor getAcceptor() { return acceptor; }
TcpTransport extends Transport { @Override public BridgeAcceptor getAcceptor() { return acceptor; } }
TcpTransport extends Transport { @Override public BridgeAcceptor getAcceptor() { return acceptor; } TcpTransport(Properties configuration); }
TcpTransport extends Transport { @Override public BridgeAcceptor getAcceptor() { return acceptor; } TcpTransport(Properties configuration); @Override BridgeAcceptor getAcceptor(); @Override BridgeConnector getConnector(); @Override BridgeAcceptor getAcceptor(ResourceAddress address); @Override BridgeConnector getConnector(ResourceAddress address); @Override // Used for resource injection Collection<?> getExtensions(); @Override Map<String, Protocol> getProtocols(); Worker[] getWorkers(); }
TcpTransport extends Transport { @Override public BridgeAcceptor getAcceptor() { return acceptor; } TcpTransport(Properties configuration); @Override BridgeAcceptor getAcceptor(); @Override BridgeConnector getConnector(); @Override BridgeAcceptor getAcceptor(ResourceAddress address); @Override BridgeConnector getConnector(ResourceAddress address); @Override // Used for resource injection Collection<?> getExtensions(); @Override Map<String, Protocol> getProtocols(); Worker[] getWorkers();  }