public void setProtocolName(String protocolName) {
   this.protocol = DcmProtocol.valueOf(protocolName);
 }
 protected void startService() throws Exception {
   dcmsrv.addHandshakeFailedListener(tlsConfig.handshakeFailedListener());
   dcmsrv.addHandshakeCompletedListener(tlsConfig.handshakeCompletedListener());
   dcmsrv.setServerSocketFactory(tlsConfig.serverSocketFactory(protocol.getCipherSuites()));
   dcmsrv.start();
 }
 public String getProtocolName() {
   return protocol.toString();
 }