com.espertech.esper.client.dataflow.io
Class ObjectToDataOutputCollectorSerializable

java.lang.Object
  extended by com.espertech.esper.client.dataflow.io.ObjectToDataOutputCollectorSerializable
All Implemented Interfaces:
ObjectToDataOutputCollector

public class ObjectToDataOutputCollectorSerializable
extends java.lang.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
ObjectToDataOutputCollectorSerializable()
           
 
Method Summary
 void collect(ObjectToDataOutputCollectorContext context)
          Write the received object to DataOutput.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectToDataOutputCollectorSerializable

public ObjectToDataOutputCollectorSerializable()
Method Detail

collect

public void collect(ObjectToDataOutputCollectorContext context)
             throws java.io.IOException
Description copied from interface: ObjectToDataOutputCollector
Write the received object to DataOutput.

Specified by:
collect in interface ObjectToDataOutputCollector
Parameters:
context - the object and output
Throws:
java.io.IOException - when the write operation failed

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com