Class IdACB1Messages
java.lang.Object
com.io7m.idstore.protocol.admin.cb.IdACB1Messages
- All Implemented Interfaces:
IdProtocolMessagesType<IdAMessageType>
,com.io7m.repetoir.core.RPServiceType
public final class IdACB1Messages
extends Object
implements IdProtocolMessagesType<IdAMessageType>, com.io7m.repetoir.core.RPServiceType
The protocol messages for Admin v1 Cedarbridge.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionThe protocol messages for Admin v1 Cedarbridge.IdACB1Messages
(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
-
IdACB1Messages
public IdACB1Messages(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
-
IdACB1Messages
public IdACB1Messages()The protocol messages for Admin v1 Cedarbridge.
-
-
Method Details
-
contentType
- Returns:
- The content type
-
protocolId
- Returns:
- The protocol identifier
-
parse
Description copied from interface:IdProtocolMessagesType
Parse a message from the given bytes.- Specified by:
parse
in interfaceIdProtocolMessagesType<IdAMessageType>
- Parameters:
data
- The bytes- Returns:
- A parsed message
- Throws:
IdProtocolException
- If parsing fails
-
serialize
Description copied from interface:IdProtocolMessagesType
Serialize the given message to a byte array.- Specified by:
serialize
in interfaceIdProtocolMessagesType<IdAMessageType>
- Parameters:
message
- The message- Returns:
- The serialized message as a byte array
-
description
- Specified by:
description
in interfacecom.io7m.repetoir.core.RPServiceType
-
toString
-