Interface NetworkConnectionBase

    • Method Detail

      • notifyOfException

        void notifyOfException​(java.lang.Throwable error)
        Inform connection of a thrown exception.
        Parameters:
        error - exception
      • getOutgoingMessageQueue

        OutgoingMessageQueue getOutgoingMessageQueue()
        Get the connection's outgoing message queue.
        Returns:
        outbound message queue
      • getIncomingMessageQueue

        IncomingMessageQueue getIncomingMessageQueue()
        Get the connection's incoming message queue.
        Returns:
        inbound message queue
      • getTransportBase

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

        int getMssSize()
      • isIncoming

        boolean isIncoming()
      • isLANLocal

        boolean isLANLocal()
        Is the connection within the local LAN network.
        Returns:
        true if within LAN, false of outside the LAN segment
      • resetLANLocalStatus

        void resetLANLocalStatus()
      • isClosed

        boolean isClosed()
      • setUploadLimit

        void setUploadLimit​(int limit)
      • getUploadLimit

        int getUploadLimit()
      • setDownloadLimit

        void setDownloadLimit​(int limit)
      • getDownloadLimit

        int getDownloadLimit()
      • addRateLimiter

        void addRateLimiter​(LimitedRateGroup limiter,
                            boolean upload)
      • removeRateLimiter

        void removeRateLimiter​(LimitedRateGroup limiter,
                               boolean upload)
      • getString

        java.lang.String getString()