Package com.io7m.idstore.protocol.user.cb

# Class ProtocolIdU1v1Serializer

java.lang.Object
com.io7m.idstore.protocol.user.cb.ProtocolIdU1v1Serializer

All Implemented Interfaces:
  `com.io7m.cedarbridge.runtime.api.CBProtocolMessageSerializerType<ProtocolIdU1v1Type>`, `com.io7m.cedarbridge.runtime.api.CBProtocolMessageVersionedSerializerType<ProtocolIdU1v1Type>`

public final class ProtocolIdU1v1Serializer extends Object implements com.io7m.cedarbridge.runtime.api.CBProtocolMessageVersionedSerializerType<ProtocolIdU1v1Type>
Protocol `com.io7m.idstore.protocol.user.cb.IdU1`, version `1`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ProtocolIdU1v1Serializer()`
  Construct a serializer.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ProtocolIdU1v1Type`
  `deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context)`
  `Class<ProtocolIdU1v1Type>`
  `messageClass()`
  `void`
  `serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, ProtocolIdU1v1Type $x)`
  `BigInteger`
  `version()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ProtocolIdU1v1Serializer

    public ProtocolIdU1v1Serializer()
    Construct a serializer.

- ## Method Details

  - ### version

    public BigInteger version()
    Specified by:
      `version` in interface `com.io7m.cedarbridge.runtime.api.CBProtocolMessageVersionedSerializerType<ProtocolIdU1v1Type>`

  - ### messageClass

    public Class<ProtocolIdU1v1Type> messageClass()
    Specified by:
      `messageClass` in interface `com.io7m.cedarbridge.runtime.api.CBProtocolMessageSerializerType<ProtocolIdU1v1Type>`

  - ### serialize

    public void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, ProtocolIdU1v1Type $x) throws IOException
    Specified by:
      `serialize` in interface `com.io7m.cedarbridge.runtime.api.CBProtocolMessageSerializerType<ProtocolIdU1v1Type>`
    Throws:
      `IOException`

  - ### deserialize

    public ProtocolIdU1v1Type deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException
    Specified by:
      `deserialize` in interface `com.io7m.cedarbridge.runtime.api.CBProtocolMessageSerializerType<ProtocolIdU1v1Type>`
    Throws:
      `IOException`