Class PeerForeignNetworkConnection

    • Constructor Detail

      • PeerForeignNetworkConnection

        protected PeerForeignNetworkConnection​(PeerForeignDelegate _delegate,
                                               Peer _peer)
    • Method Detail

      • notifyOfException

        public void notifyOfException​(java.lang.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 java.lang.String getString()