Package org.apache.vinci.transport
Interface Transportable
-
- All Known Implementing Classes:
AFrame
,Attributes
,CASTransportable
,ErrorFrame
,Frame
,QueryableFrame
,ResolveResult
,ResolveResult.ServiceLocator
,ServeonResult
,SimpleTransportable
,VinciFrame
public interface Transportable
Interface implemented by documents that can be transported (marshalled).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyValuePair
fromStream(InputStream is)
Read the object from the input stream.void
toStream(OutputStream os)
Write the object to the output stream.
-
-
-
Method Detail
-
fromStream
KeyValuePair fromStream(InputStream is) throws IOException
Read the object from the input stream.- Parameters:
is
- The stream to read from.- Returns:
- -
- Throws:
IOException
- -
-
toStream
void toStream(OutputStream os) throws IOException
Write the object to the output stream.- Parameters:
os
- The stream to write into.- Throws:
IOException
- -
-
-