- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(T msg, ChainedDataOutputStream out) Writes this message to the given output stream.
-
Method Details
-
write
Writes this message to the given output stream.- Parameters:
msg
- The message to write.out
- The output stream to write to.- Throws:
IOException
- If an error occurs while writing.
-