Class IdUCB1Messages
java.lang.Object
com.io7m.idstore.protocol.user.cb.IdUCB1Messages
- All Implemented Interfaces:
IdProtocolMessagesType<IdUMessageType>,com.io7m.repetoir.core.RPServiceType
public final class IdUCB1Messages
extends Object
implements IdProtocolMessagesType<IdUMessageType>, com.io7m.repetoir.core.RPServiceType
The protocol messages for User v1 Cedarbridge.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThe protocol messages for Admin v1 Cedarbridge.IdUCB1Messages(com.io7m.jbssio.api.BSSReaderProviderType inReaders, com.io7m.jbssio.api.BSSWriterProviderType inWriters) The protocol messages for Admin v1 Cedarbridge. -
Method Summary
-
Field Details
-
CONTENT_TYPE
The content type for the protocol.- See Also:
-
-
Constructor Details
-
IdUCB1Messages
public IdUCB1Messages(com.io7m.jbssio.api.BSSReaderProviderType inReaders, com.io7m.jbssio.api.BSSWriterProviderType inWriters) The protocol messages for Admin v1 Cedarbridge.- Parameters:
inReaders- The readersinWriters- The writers
-
IdUCB1Messages
public IdUCB1Messages()The protocol messages for Admin v1 Cedarbridge.
-
-
Method Details
-
contentType
- Returns:
- The content type
-
protocolId
- Returns:
- The protocol identifier
-
parse
Description copied from interface:IdProtocolMessagesTypeParse a message from the given bytes.- Specified by:
parsein interfaceIdProtocolMessagesType<IdUMessageType>- Parameters:
data- The bytes- Returns:
- A parsed message
- Throws:
IdProtocolException- If parsing fails
-
serialize
Description copied from interface:IdProtocolMessagesTypeSerialize the given message to a byte array.- Specified by:
serializein interfaceIdProtocolMessagesType<IdUMessageType>- Parameters:
message- The message- Returns:
- The serialized message as a byte array
- Throws:
IdProtocolException- If serialization fails
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-
toString
-