public void run(int socketBufferSize) { try { final Collider collider = Collider.create(); collider.addAcceptor(new TestAcceptor(socketBufferSize)); collider.run(); } catch (final IOException ex) { ex.printStackTrace(); } }
public void run() { try { final Collider collider = Collider.create(); collider.addConnector(new PubConnector(m_addr)); collider.run(); } catch (final IOException ex) { ex.printStackTrace(); } }