Interface AbstractDataElement
- All Known Implementing Classes:
KeyDataElement,KeyPayloadDataElement
public interface AbstractDataElement
A marker interface for possible data elements in the EIEIO data packet.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddToBuffer(ByteBuffer buffer, EIEIOType eieioType) Writes this message chunk into the given buffer.
-
Method Details
-
addToBuffer
Writes this message chunk into the given buffer. This is so that a message can be sent.- Parameters:
buffer- The buffer to write into.eieioType- The type of message this is being written into.- Throws:
IllegalArgumentException- If this message is incompatible with the given message type.
-