Class PeerForeignNetworkConnection

java.lang.Object
com.biglybt.core.networkmanager.NetworkConnectionHelper
com.biglybt.pifimpl.local.peers.PeerForeignNetworkConnection
All Implemented Interfaces:
NetworkConnectionBase

public class PeerForeignNetworkConnection extends NetworkConnectionHelper
  • Field Details

  • Constructor Details

    • PeerForeignNetworkConnection

      protected PeerForeignNetworkConnection(PeerForeignDelegate _delegate, Peer _peer)
  • Method Details

    • getEndpoint

      public ConnectionEndpoint getEndpoint()
    • notifyOfException

      public void notifyOfException(Throwable error)
      Description copied from interface: NetworkConnectionBase
      Inform connection of a thrown exception.
      Parameters:
      error - exception
    • getOutgoingMessageQueue

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

      public IncomingMessageQueue getIncomingMessageQueue()
      Description copied from interface: NetworkConnectionBase
      Get the connection's incoming message queue.
      Returns:
      inbound message queue
    • getTransportBase

      public TransportBase getTransportBase()
      Description copied from interface: NetworkConnectionBase
      Get the connection's data transport interface.
      Returns:
      the transport - MAY BE NULL if not yet fully connected
    • getMssSize

      public int getMssSize()
    • isIncoming

      public boolean isIncoming()
    • isLANLocal

      public boolean isLANLocal()
      Description copied from interface: NetworkConnectionBase
      Is the connection within the local LAN network.
      Returns:
      true if within LAN, false of outside the LAN segment
    • resetLANLocalStatus

      public void resetLANLocalStatus()
    • isClosed

      public boolean isClosed()
    • getString

      public String getString()