Class CAVerdantMessages
java.lang.Object
com.io7m.cardant.server.service.verdant.CAVerdantMessages
- All Implemented Interfaces:
CAVerdantMessagesType,com.io7m.repetoir.core.RPServiceType
Service wrapper for Verdant messages.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CAVerdantMessages
public CAVerdantMessages()Service wrapper for Verdant messages.
-
-
Method Details
-
serialize
public byte[] serialize(com.io7m.verdant.core.VProtocols protocols, int version) throws com.io7m.verdant.core.VProtocolException Description copied from interface:CAVerdantMessagesTypeSerialize the given protocols.- Specified by:
serializein interfaceCAVerdantMessagesType- Parameters:
protocols- The protocolsversion- The container version- Returns:
- The serialized bytes
- Throws:
com.io7m.verdant.core.VProtocolException- On errors
-
parse
public com.io7m.verdant.core.VProtocols parse(URI source, byte[] data) throws com.io7m.verdant.core.VProtocolException Description copied from interface:CAVerdantMessagesTypeParse versions from the given source.- Specified by:
parsein interfaceCAVerdantMessagesType- Parameters:
source- The sourcedata- The read bytes- Returns:
- A set of parsed versions
- Throws:
com.io7m.verdant.core.VProtocolException- If the input cannot be parsed
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-
toString
-