org.jtoolkit.essence.app.pojo
Interface Datable

All Known Implementing Classes:
Event.StatusEvent, Pair

public interface Datable

A object which can be written to a DataOutput and read from a DataInput.

DatableUtils.registerBuilder(Class<T> clazz, Mapping<DataInput, T> builder) can be called to improve efficiency of building this class.

Author:
Peter Lawrey

Method Summary
 void writeData(java.io.DataOutput out)
          Write this object to DataOutput must define a constructor.
 

Method Detail

writeData

void writeData(@NotNull
               java.io.DataOutput out)
               throws java.io.IOException
Write this object to DataOutput must define a constructor. public Datable(@NotNull DataInput in) throws IOException;

Throws:
java.io.IOException


Copyright © Peter Lawrey. All Rights Reserved.