public class DefaultJaffreCallFrameSerializer extends Object implements JaffreCallFrameSerializer
Constructor and Description |
---|
DefaultJaffreCallFrameSerializer() |
Modifier and Type | Method and Description |
---|---|
JaffreCallFrame |
deserialize(InputStream p_in)
Deserialize a
JaffreCallFrame . |
void |
serialize(JaffreCallFrame p_frame,
OutputStream p_out)
Serialize a
JaffreCallFrame . |
public void serialize(JaffreCallFrame p_frame, OutputStream p_out) throws IOException
JaffreCallFrameSerializer
JaffreCallFrame
.
Note: this method must be thread-safe.
serialize
in interface JaffreCallFrameSerializer
p_frame
- The frame to be serialized.p_out
- The output stream.IOException
- If an I/O error occurred.public JaffreCallFrame deserialize(InputStream p_in) throws IOException, ClassNotFoundException, JaffreSerializeException
JaffreCallFrameSerializer
JaffreCallFrame
.
Note: this method must be thread-safe.
deserialize
in interface JaffreCallFrameSerializer
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
JaffreCallFrame
.Copyright © 2009-2013 Alexander Veit. All Rights Reserved.