Package connection.peer.secure

Source Code of connection.peer.secure.GenericSecuredConnectorFromPeer

package connection.peer.secure;


import java.io.IOException;
import java.net.ServerSocket;

import common.connection.AbstractCommunicationSet;
import common.connection.AbstractConnection;
import common.connection.AbstractConnector;

import connection.peer.AbstractConnectorFromPeer;
import connection.peer.GenericPeerConnection;


public class GenericSecuredConnectorFromPeer extends AbstractConnectorFromPeer implements
    ConnectionSecurerInterface
{
  public GenericSecuredConnectorFromPeer(ServerSocket listener) throws IOException
  {
    super(listener);
  }

  protected AbstractConnection createConnectionObject() throws IOException
  {
    return new ServerSideSecurableConnection(this);
  }

  public AbstractConnector getConnector()
  {
    return this;
  }

  public GenericPeerConnection createConnection(AbstractCommunicationSet source)
      throws IOException
  {
    return new GenericPeerConnection(source);
  }

  public void notifyFailedNegotiation()
  {
  }

}
TOP

Related Classes of connection.peer.secure.GenericSecuredConnectorFromPeer

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.