Class IdUCB1Validation
java.lang.Object
com.io7m.idstore.protocol.user.cb.IdUCB1Validation
- All Implemented Interfaces:
IdProtocolMessageValidatorType<IdUMessageType,ProtocolIdUv1Type>
public final class IdUCB1Validation
extends Object
implements IdProtocolMessageValidatorType<IdUMessageType,ProtocolIdUv1Type>
Functions to translate between the core command set and the User v1
Cedarbridge encoding command set.
-
Constructor Summary
ConstructorsConstructorDescriptionFunctions to translate between the core command set and the User v1 Cedarbridge encoding command set. -
Method Summary
Modifier and TypeMethodDescriptionconvertFromWire(ProtocolIdUv1Type message) Convert a wire message to a core message.convertToWire(IdUMessageType message) Convert a core message to a wire message.
-
Constructor Details
-
IdUCB1Validation
public IdUCB1Validation()Functions to translate between the core command set and the User v1 Cedarbridge encoding command set.
-
-
Method Details
-
convertToWire
Description copied from interface:IdProtocolMessageValidatorTypeConvert a core message to a wire message.- Specified by:
convertToWirein interfaceIdProtocolMessageValidatorType<IdUMessageType,ProtocolIdUv1Type> - Parameters:
message- The core message- Returns:
- The wire message
- Throws:
IdProtocolException- On errors
-
convertFromWire
Description copied from interface:IdProtocolMessageValidatorTypeConvert a wire message to a core message.- Specified by:
convertFromWirein interfaceIdProtocolMessageValidatorType<IdUMessageType,ProtocolIdUv1Type> - Parameters:
message- The wire message- Returns:
- The core message
- Throws:
IdProtocolException- On errors
-