|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FrameTransporter
Interface required by Frame to support marshalling. Concrete implementations can marshall using any desired wire format. For example, the XTalkTransporter is an implementation that uses XTalk, the default Vinci wire format.
Method Summary | |
---|---|
KeyValuePair |
fromStream(java.io.InputStream is,
Frame f)
Marshall the frame to the input stream. |
void |
toStream(java.io.OutputStream os,
Frame f)
Populate the (empty) frame from the stream contents. |
Method Detail |
---|
KeyValuePair fromStream(java.io.InputStream is, Frame f) throws java.io.IOException, java.io.EOFException
is
- The stream where the Frame is written.f
- The Frame to be marshalled.
java.io.IOException
java.io.EOFException
void toStream(java.io.OutputStream os, Frame f) throws java.io.IOException
os
- The stream from where the data is read.f
- The Frame to be populated from the stream.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |