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
Modifier and TypeMethodDescriptionRead the object from the input stream.voidtoStream(OutputStream os) Write the object to the output stream.
-
Method Details
-
fromStream
Read the object from the input stream.- Parameters:
is- The stream to read from.- Returns:
- -
- Throws:
IOException- -
-
toStream
Write the object to the output stream.- Parameters:
os- The stream to write into.- Throws:
IOException- -
-