public interface JaffreReturnFrameSerializer
Modifier and Type | Method and Description |
---|---|
JaffreReturnFrame |
deserialize(InputStream p_in)
Deserialize a
JaffreReturnFrame . |
void |
serialize(JaffreReturnFrame p_frame,
OutputStream p_out)
Serialize a
JaffreReturnFrame . |
void serialize(JaffreReturnFrame p_frame, OutputStream p_out) throws IOException, JaffreSerializeException
JaffreReturnFrame
.
Note: this method must be thread-safe.
p_frame
- The frame to be serialized.p_out
- The output stream.IllegalArgumentException
- If p_frame
or p_out
is null
.IOException
- If an I/O error occurred.JaffreSerializeException
- If the frame could not be serialized for some reason.JaffreReturnFrame deserialize(InputStream p_in) throws IOException, ClassNotFoundException, JaffreSerializeException
JaffreReturnFrame
.
Note: this method must be thread-safe.
p_in
- The input stream.null
if no more
frames are available on the input stream.IOException
- If an I/O error occurred.ClassNotFoundException
- If the class of a serialized object
cannot be found.JaffreSerializeException
- If the deserialized object was not a
JaffreReturnFrame
.Copyright © 2009-2013 Alexander Veit. All Rights Reserved.