Interface PongMagicBytesAccessor.PongMagicBytesBuilder<B extends PongMagicBytesAccessor.PongMagicBytesBuilder<B>>

Type Parameters:
B - The builder to return in order to be able to apply multiple build operations.
All Known Implementing Classes:
TransmissionMetrics.Builder
Enclosing interface:
PongMagicBytesAccessor

public static interface PongMagicBytesAccessor.PongMagicBytesBuilder<B extends PongMagicBytesAccessor.PongMagicBytesBuilder<B>>
Provides a builder method for a pong magic bytes property returning the builder for applying multiple build operations.
  • Method Summary

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

    • withPongMagicBytes

      B withPongMagicBytes(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.
      Returns:
      The builder for applying multiple build operations.
    • withPongMagicBytes

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

      default B withPongMagicBytes(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.
      Returns:
      The builder for applying multiple build operations.