Interface ModelStorageHandler<T>

Type Parameters:
T - the model type
All Known Implementing Classes:
SerializableModelStorageHandler

public interface ModelStorageHandler<T>
A model storage handler is responsible for handling the persistence of a model object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the model's java class
    Deserialize a model from an input stream.
    void
    write(T model, DataOutputStream out)
    Serialize a model to an output stream.