Class ExternalSeedPeer.ESConnection

java.lang.Object
com.biglybt.plugin.extseed.ExternalSeedPeer.ESConnection
All Implemented Interfaces:
Connection
Enclosing class:
ExternalSeedPeer

private class ExternalSeedPeer.ESConnection extends Object implements Connection
  • Field Details

  • Constructor Details

    • ESConnection

      private ESConnection()
  • Method Details

    • connect

      public void connect(ConnectionListener listener)
      Description copied from interface: Connection
      Connect this connection's transport, i.e. establish the peer connection. If this connection is already established (from an incoming connection for example), then this provides a mechanism to register the connection listener, in which case connectSuccess() will be called immediately.
      Specified by:
      connect in interface Connection
      Parameters:
      listener - notified on connect success or failure
    • close

      public void close()
      Description copied from interface: Connection
      Close and shutdown this connection.
      Specified by:
      close in interface Connection
    • getOutgoingMessageQueue

      public OutgoingMessageQueue getOutgoingMessageQueue()
      Description copied from interface: Connection
      Get the connection's outgoing message queue.
      Specified by:
      getOutgoingMessageQueue in interface Connection
      Returns:
      outbound message queue
    • getIncomingMessageQueue

      public IncomingMessageQueue getIncomingMessageQueue()
      Description copied from interface: Connection
      Get the connection's incoming message queue.
      Specified by:
      getIncomingMessageQueue in interface Connection
      Returns:
      inbound message queue
    • startMessageProcessing

      public void startMessageProcessing()
      Description copied from interface: Connection
      Begin processing incoming and outgoing message queues.
      Specified by:
      startMessageProcessing in interface Connection
    • getTransport

      public Transport getTransport()
      Description copied from interface: Connection
      Returns the transport object for this connection.
      Specified by:
      getTransport in interface Connection
    • isIncoming

      public boolean isIncoming()
      Description copied from interface: Connection
      Returns true if the connection represents an incoming connection.
      Specified by:
      isIncoming in interface Connection
    • getString

      public String getString()
      Description copied from interface: Connection
      descriptive text for the connection
      Specified by:
      getString in interface Connection
      Returns: