Class PeerHandleError


  • public class PeerHandleError
    extends Object
    Error for PeerManager errors. If you get one of these, you must disconnect the socket and generate no further read_event/write_buffer_space_avail/socket_disconnected calls for the descriptor.
    • Method Detail

      • get_no_connection_possible

        public boolean get_no_connection_possible()
        Used to indicate that we probably can't make any future connections to this peer, implying we should go ahead and force-close any channels we have with it.
      • set_no_connection_possible

        public void set_no_connection_possible​(boolean val)
        Used to indicate that we probably can't make any future connections to this peer, implying we should go ahead and force-close any channels we have with it.
      • of

        public static PeerHandleError of​(boolean no_connection_possible_arg)
        Constructs a new PeerHandleError given each field