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 TransportableInterface implemented by documents that can be transported (marshalled).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyValuePairfromStream(java.io.InputStream is)Read the object from the input stream.voidtoStream(java.io.OutputStream os)Write the object to the output stream.
-
-
-
Method Detail
-
fromStream
KeyValuePair fromStream(java.io.InputStream is) throws java.io.IOException
Read the object from the input stream.- Parameters:
is- The stream to read from.- Returns:
- -
- Throws:
java.io.IOException- -
-
toStream
void toStream(java.io.OutputStream os) throws java.io.IOExceptionWrite the object to the output stream.- Parameters:
os- The stream to write into.- Throws:
java.io.IOException- -
-
-