Class BackendKeyData

java.lang.Object
io.r2dbc.postgresql.message.backend.BackendKeyData
All Implemented Interfaces:
BackendMessage

public final class BackendKeyData extends Object implements BackendMessage
The BackendKeyData message.
  • Constructor Details

    • BackendKeyData

      public BackendKeyData(int processId, int secretKey)
      Create a new message.
      Parameters:
      processId - the process ID of this backend
      secretKey - the secret key of this backend
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getProcessId

      public int getProcessId()
      Returns the process ID of this backend.
      Returns:
      the process ID of this backend
    • getSecretKey

      public int getSecretKey()
      Returns the secret key of this backend.
      Returns:
      the secret key of this backend
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object