HeartbeatMode (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.crypto.tls

## Class HeartbeatMode

- java.lang.Object
- - org.bouncycastle.crypto.tls.HeartbeatMode

-     public class HeartbeatMode
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static short` | `peer_allowed_to_send`
    `static short` | `peer_not_allowed_to_send`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HeartbeatMode()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `isValid(short heartbeatMode)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### peer_allowed_to_send

          public static final short peer_allowed_to_send

      See Also:
        Constant Field Values

    - #### peer_not_allowed_to_send

          public static final short peer_not_allowed_to_send

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### HeartbeatMode

          public HeartbeatMode()

  - ### Method Detail

    - #### isValid

          public static boolean isValid(short heartbeatMode)