Package org.ldk.structs
Class PeerHandleError
- java.lang.Object
-
- org.ldk.structs.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PeerHandleError
clone()
Creates a copy of the PeerHandleErrorprotected void
finalize()
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.static PeerHandleError
of(boolean no_connection_possible_arg)
Constructs a new PeerHandleError given each fieldvoid
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.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
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
-
clone
public PeerHandleError clone()
Creates a copy of the PeerHandleError
-
-