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
 KeyValuePair fromStream(java.io.InputStream is)
          Read the object from the input stream.
 void toStream(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.
Throws:
java.io.IOException

toStream

void toStream(java.io.OutputStream os)
              throws java.io.IOException
Write the object to the output stream.

Parameters:
os - The stream to write into.
Throws:
java.io.IOException


Copyright © 2013. All Rights Reserved.