Package me.autobot.lib.server.topica
Interface Topica.Database.EncodeableTopic
- Enclosing class:
- Topica.Database
public static interface Topica.Database.EncodeableTopic
An interface allowing for custom encodeable topics.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Empty class for when an encodable is not implemented. -
Method Summary
-
Method Details
-
decode
Decodes the data into an encodeable topic.- Parameters:
data
- The data to decode.- Returns:
- The decoded encodeable topic.
-
encode
default byte[] encode()Encodes the encodeable topic.- Returns:
- The encoded data.
-