Serialized Form
-
Package io.github.elimelt.pmqueue.message
-
Class io.github.elimelt.pmqueue.message.Message
class Message extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
Disabled default deserialization. UseMessageSerializer
instead for proper deserialization.- Parameters:
in
- the input stream to read from- Throws:
IOException
- always, to prevent default deserialization
-
writeObject
Custom serialization implementation for better performance. Writes the message fields directly to the output stream.- Parameters:
out
- the output stream to write to- Throws:
IOException
- if an I/O error occurs
-
-
Serialized Fields
-
data
byte[] data
The message data. -
length
int length
The length of the message data. -
messageType
int messageType
The message type identifier. -
timestamp
long timestamp
The timestamp when this message was created.
-
-