M- the source type (starting data format) of the model
D- the target type (data format to be produced), usually to send the data over the wire
public interface DataWriter<M,D>
DataReader). In other cases, this can mean copying properties from load configs into an object format which can be sent via RPC or RequestFactory. In contrast with DataReader, this is not expected to have access to any other context such as a load config, it operates directly on the data as-is. Custom implementations can provide other context, but none is available by default.
Copyright © 2012. All Rights Reserved.