public interface FrameTransporter
Modifier and Type | Method and Description |
---|---|
KeyValuePair |
fromStream(InputStream is,
Frame f)
Marshal the frame to the input stream.
|
void |
toStream(OutputStream os,
Frame f)
Populate the (empty) frame from the stream contents.
|
KeyValuePair fromStream(InputStream is, Frame f) throws IOException, EOFException
is
- The stream where the Frame is written.f
- The Frame to be marshalled.IOException
- -EOFException
- -void toStream(OutputStream os, Frame f) throws IOException
os
- The stream from where the data is read.f
- The Frame to be populated from the stream.IOException
- -Copyright © 2016. All rights reserved.