Package org.java_websocket.server

Examples of org.java_websocket.server.DefaultSSLWebSocketServerFactory


    SSLContext sslContext = null;
    sslContext = SSLContext.getInstance( "TLS" );
    sslContext.init( kmf.getKeyManagers(), tmf.getTrustManagers(), null );

    chatserver.setWebSocketFactory( new DefaultSSLWebSocketServerFactory( sslContext ) );

    chatserver.start();

  }
View Full Code Here

TOP

Related Classes of org.java_websocket.server.DefaultSSLWebSocketServerFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.