コード例 #1
0
 public void setProtocolName(String protocolName) {
   this.protocol = DcmProtocol.valueOf(protocolName);
 }
コード例 #2
0
 protected void startService() throws Exception {
   dcmsrv.addHandshakeFailedListener(tlsConfig.handshakeFailedListener());
   dcmsrv.addHandshakeCompletedListener(tlsConfig.handshakeCompletedListener());
   dcmsrv.setServerSocketFactory(tlsConfig.serverSocketFactory(protocol.getCipherSuites()));
   dcmsrv.start();
 }
コード例 #3
0
 public String getProtocolName() {
   return protocol.toString();
 }