@FunctionalInterface public interface EncodeMessageFrame
| Modifier and Type | Method and Description |
|---|---|
void |
encode(MessageFrame frame,
OutputStream out)
Writes the given MessageFrame, frame, to the given OutputStream,out.
|
void encode(MessageFrame frame, OutputStream out) throws IOException
frame - MessageFrame to be written to out.out - OutputStream to have the frame written to.IOException - if the write operation to out fails.