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
JaffreCallFrameSerializerJaffreCallFrame.
Note: this method must be thread-safe.
serialize in interface JaffreCallFrameSerializerp_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
JaffreCallFrameSerializerJaffreCallFrame.
Note: this method must be thread-safe.
deserialize in interface JaffreCallFrameSerializerp_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.