Interface CAI1ResponseBlame
- All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
- All Known Implementing Classes:
CAI1ResponseBlame.BlameClient,CAI1ResponseBlame.BlameServer
public sealed interface CAI1ResponseBlame
extends com.io7m.cedarbridge.runtime.api.CBSerializableType
permits CAI1ResponseBlame.BlameClient, CAI1ResponseBlame.BlameServer
A blame assignment.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe client sent a bad response.static final recordSomething went wrong on the server. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CAI1ResponseBlamedeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1ResponseBlame.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1ResponseBlame $x) Serialize a value of type CAI1ResponseBlame.
-
Method Details
-
serialize
static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1ResponseBlame $x) throws IOException Serialize a value of type CAI1ResponseBlame.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
static CAI1ResponseBlame deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1ResponseBlame.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1ResponseBlame.
- Throws:
IOException
-