Package org.eclipse.ecf.filetransfer.events.socketfactory

Examples of org.eclipse.ecf.filetransfer.events.socketfactory.INonconnectedSocketFactory


    this.source = source;
    this.socketConnectListener = socketConnectListener != null ? socketConnectListener : NULL_SOCKET_EVENT_LISTENER;
  }

  public ECFHttpClientProtocolSocketFactory(final SocketFactory socketFactory, ISocketEventSource source, ISocketListener socketConnectListener) {
    this(new INonconnectedSocketFactory() {
      public Socket createSocket() throws IOException {
        return socketFactory.createSocket();
      }
    }, source, socketConnectListener);
  }
View Full Code Here


    this.source = source;
    this.socketConnectListener = socketConnectListener != null ? socketConnectListener : NULL_SOCKET_EVENT_LISTENER;
  }

  public ECFHttpClientProtocolSocketFactory(final SocketFactory socketFactory, ISocketEventSource source, ISocketListener socketConnectListener) {
    this(new INonconnectedSocketFactory() {
      public Socket createSocket() throws IOException {
        return socketFactory.createSocket();
      }

    }, source, socketConnectListener);
View Full Code Here

public final class ECFHttpClientSecureProtocolSocketFactory extends ECFHttpClientProtocolSocketFactory implements SecureProtocolSocketFactory {

  private ISSLSocketFactoryModifier sslSocketFactoryModifier;

  public ECFHttpClientSecureProtocolSocketFactory(final ISSLSocketFactoryModifier sslSocketFactoryModifier, ISocketEventSource source, ISocketListener socketConnectListener) {
    super(new INonconnectedSocketFactory() {
      public Socket createSocket() throws IOException {
        return sslSocketFactoryModifier.getNonconnnectedSocketFactory().createSocket();
      }

    }, source, socketConnectListener);
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.filetransfer.events.socketfactory.INonconnectedSocketFactory

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.