Interface ICloseEventListener


  • public interface ICloseEventListener
    Listener can implement this interface to be notified on close.

    Listeners are called from a background thread which expects to get control back quickly. If a listener is going to perform a potentially time-consuming operation like processing a large document or doing something that may block, such as performing socket IO, it should arrange to do that work in another thread so it can return to its caller quickly.

    • Method Detail

      • closePerformed

        void closePerformed​(CloseEvent closeEvent)
        This method is called, when the remote server closes the connection
        Parameters:
        reason -