Interface PongMagicBytesAccessor.PongMagicBytesMutator

All Known Subinterfaces:
PongMagicBytesAccessor.PongMagicBytesProperty
Enclosing interface:
PongMagicBytesAccessor

public static interface PongMagicBytesAccessor.PongMagicBytesMutator
Provides a mutator for a pong magic bytes property.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setPongMagicBytes(byte[] aPongMagicBytes)
    Sets the magic bytes for the pong magic bytes property.
    default void
    setPongMagicBytes(String aPongMagicBytes)
    Sets the magic bytes for the pong magic bytes property.
    default void
    setPongMagicBytes(String aPongMagicBytes, Charset aEncoding)
    Sets the magic bytes for the pong magic bytes property.
  • Method Details

    • setPongMagicBytes

      void setPongMagicBytes(byte[] aPongMagicBytes)
      Sets the magic bytes for the pong magic bytes property.
      Parameters:
      aPongMagicBytes - The magic bytes to be stored by the pong magic bytes property.
    • setPongMagicBytes

      default void setPongMagicBytes(String aPongMagicBytes)
      Sets the magic bytes for the pong magic bytes property. Uses TransmissionMetrics.DEFAULT_ENCODING for converting the String into a byte array.
      Parameters:
      aPongMagicBytes - The magic bytes to be stored by the magic bytes property.
    • setPongMagicBytes

      default void setPongMagicBytes(String aPongMagicBytes, Charset aEncoding)
      Sets the magic bytes for the pong magic bytes property.
      Parameters:
      aPongMagicBytes - The magic bytes to be stored by the magic bytes property.
      aEncoding - The string's bytes are converted using the given Charset.