Class ObjectToDataOutputCollectorSerializable
java.lang.Object
com.espertech.esper.common.client.dataflow.io.ObjectToDataOutputCollectorSerializable
- All Implemented Interfaces:
ObjectToDataOutputCollector
public class ObjectToDataOutputCollectorSerializable
extends Object
implements ObjectToDataOutputCollector
Writes a
Serializable
object to DataOutput
.
The output contains the byte array length integer followed by the byte array of the serialized object.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ObjectToDataOutputCollectorSerializable
public ObjectToDataOutputCollectorSerializable()
-
-
Method Details
-
collect
Description copied from interface:ObjectToDataOutputCollector
Write the received object toDataOutput
.- Specified by:
collect
in interfaceObjectToDataOutputCollector
- Parameters:
context
- the object and output- Throws:
IOException
- when the write operation failed
-