protected void startService() throws Exception { dcmsrv.addHandshakeFailedListener(tlsConfig.handshakeFailedListener()); dcmsrv.addHandshakeCompletedListener(tlsConfig.handshakeCompletedListener()); dcmsrv.setServerSocketFactory(tlsConfig.serverSocketFactory(protocol.getCipherSuites())); dcmsrv.start(); }
public int getNumIdleThreads() { return dcmsrv.getNumIdleThreads(); }
public void setMaxIdleThreads(int max) { dcmsrv.setMaxIdleThreads(max); }
public int getNumClients() { return dcmsrv.getNumClients(); }
public int getMaxIdleThreads() { return dcmsrv.getMaxIdleThreads(); }
public String getLocalAddress() { return dcmsrv.getLocalAddress(); }
public void setMaxClients(int newMaxClients) { dcmsrv.setMaxClients(newMaxClients); }
public final boolean isTcpNoDelay() { return dcmsrv.isTcpNoDelay(); }
public final void setTcpNoDelay(boolean on) { dcmsrv.setTcpNoDelay(on); }
public final int getSendBufferSize() { return dcmsrv.getSendBufferSize(); }
public final void setSendBufferSize(int size) { dcmsrv.setSendBufferSize(size); }
public final void setReceiveBufferSize(int size) { dcmsrv.setReceiveBufferSize(size); }
public final int getReceiveBufferSize() { return dcmsrv.getReceiveBufferSize(); }
public void setLocalAddress(String localAddress) { dcmsrv.setLocalAddress(localAddress); }
protected void stopService() throws Exception { dcmsrv.stop(); }
public int getMaxClients() { return dcmsrv.getMaxClients(); }
public int getPort() { return dcmsrv.getPort(); }
public void setPort(int port) { dcmsrv.setPort(port); }