Examples of DummySSLSocketFactory


Examples of com.gvaneyck.rtmp.DummySSLSocketFactory

    if (connection == null) {
      //Connection.DEBUG_ENABLED = true;
      ConnectionConfiguration config = new ConnectionConfiguration(
          ServerInfo.currentServerInfo.XMPPserver, 5223);
      config.setSecurityMode(SecurityMode.enabled);
      config.setSocketFactory(new DummySSLSocketFactory());
      config.setCompressionEnabled(true);
      config.setServiceName("pvp.net");
      connection = new XMPPConnection(config);
     
    }
View Full Code Here

Examples of nu.fw.jeti.backend.Connect.DummySSLSocketFactory

  public void connect(String host, int port,Handlers handlers) throws IOException
  {
    if(port==5222)port=5223;
    JabberHandler jH = new JabberHandler(this,handlers);
    //Socket socket = new Socket(host,port);
    Socket socket = new DummySSLSocketFactory().createSocket(host,port);
    new Input(socket.getInputStream(),this,jH);
    output = new Output(socket,host,this,socket.getOutputStream());
    server = host;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.