public interface FrameTransporter
| Modifier and Type | Method and Description |
|---|---|
KeyValuePair |
fromStream(InputStream is,
Frame f)
Marshall 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.IOExceptionEOFExceptionvoid 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.IOExceptionCopyright © 2006–2024 The Apache Software Foundation. All rights reserved.