Package com.io7m.cedarbridge.runtime.api

# Interface CBProtocolSerializerCollectionBuilderType<T extends CBProtocolMessageType>

Type Parameters:
  `T` - The type of protocol messages

public interface CBProtocolSerializerCollectionBuilderType<T extends CBProtocolMessageType>
A builder of collections of protocol serializers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBProtocolSerializerCollectionBuilderType<T>`
  `addFactory(CBProtocolSerializerFactoryType<? extends T> factory)`
  Add a serializer factory.
  `CBProtocolSerializerCollectionType<T>`
  `build()`
  Build a protocol serializer collection.

- ## Method Details

  - ### addFactory

    CBProtocolSerializerCollectionBuilderType<T> addFactory(CBProtocolSerializerFactoryType<? extends T> factory)
    Add a serializer factory.
    Parameters:
      `factory` - The factory
    Returns:
      this

  - ### build

    CBProtocolSerializerCollectionType<T> build()
    Build a protocol serializer collection.
    Returns:
      The collection