public MX4JServerSocketFactory(boolean useSSL,boolean needClientAuth,String protocols,String ciphers,Properties gfsecurityProps){
  if (protocols == null || protocols.length() == 0) {
    protocols=DistributionConfig.DEFAULT_SSL_PROTOCOLS;
  }
  if (ciphers == null || ciphers.length() == 0) {
    ciphers=DistributionConfig.DEFAULT_SSL_CIPHERS;
  }
  this.socketCreator=SocketCreatorFactory.createNonDefaultInstance(useSSL,needClientAuth,protocols,ciphers,gfsecurityProps);
}

public MX4JServerSocketFactory ( boolean useSSL , boolean needClientAuth , String protocols , String ciphers , Properties gfsecurityProps ) { if ( protocols == null || protocols . length ( ) == 0 ) { protocols = DistributionConfig . DEFAULT_SSL_PROTOCOLS ; } if ( ciphers == null || ciphers . length ( ) == 0 ) { ciphers = DistributionConfig . DEFAULT_SSL_CIPHERS ; } this . socketCreator = SocketCreatorFactory . createNonDefaultInstance ( useSSL , needClientAuth , protocols , ciphers , gfsecurityProps ) ; }
constructs new instance of mx4jserversocketfactory .
