Class StopEncryptionMsg


  • public final class StopEncryptionMsg
    extends ReplicationMsg
    Internal message to signal the stop of encryption.

    The message is not intended to be sent across servers.

    • Field Detail

      • INSTANCE

        public static final StopEncryptionMsg INSTANCE
        Internal message to signal the stop of encryption.
    • Constructor Detail

      • StopEncryptionMsg

        public StopEncryptionMsg()
    • Method Detail

      • getBytes

        public byte[] getBytes​(short protocolVersion)
        Description copied from class: ReplicationMsg
        Serializes the PDU using the provided replication protocol version. WARNING: should be overwritten by a PDU (sub class) we want to support older protocol version serialization for.
        Specified by:
        getBytes in class ReplicationMsg
        Parameters:
        protocolVersion - The protocol version to use for serialization. The version should normally be older than the current one.
        Returns:
        The encoded PDU, or null if the message isn't supported in that protocol version.