Class DefaultTransportListener

    • Constructor Detail

      • DefaultTransportListener

        public DefaultTransportListener()
    • Method Detail

      • onCommand

        public void onCommand​(Object command)
        called to process a command
        Specified by:
        onCommand in interface TransportListener
        Parameters:
        command -
      • onException

        public void onException​(IOException error)
        An unrecoverable exception has occured on the transport
        Specified by:
        onException in interface TransportListener
        Parameters:
        error -
      • transportInterupted

        public void transportInterupted()
        The transport has suffered an interuption from which it hopes to recover
        Specified by:
        transportInterupted in interface TransportListener