Interface Peer.PeerEventingServiceDisconnectEvent

  • Enclosing class:
    Peer


    public static interface Peer.PeerEventingServiceDisconnectEvent
    • Method Detail

      • getLatestBLockReceived

        BlockEvent getLatestBLockReceived​()
        The latest BlockEvent received by peer eventing service.
        Returns:
        The latest BlockEvent.
      • getLastConnectTime

        long getLastConnectTime​()
        Last connect time
        Returns:
        Last connect time as reported by System.currentTimeMillis()
      • getReconnectCount

        long getReconnectCount​()
        Number reconnection attempts since last disconnection.
        Returns:
        reconnect attempts.
      • getExceptionThrown

        java.lang.Throwable getExceptionThrown​()
        Last exception throw for failing connection
        Returns: