pmMDA.NET

ClientDataObjectHandler Class

[This is preliminary documentation and subject to change.]

Remoting data object handler which loads, stores and deletes data objects.

For a list of all members of this type, see ClientDataObjectHandler Members.

System.Object
   PmMda.Net.Dog.Remoting.ClientDataObjectHandler

public class ClientDataObjectHandler : IDataObjectHandlerImpl, IDataObjectHandler

Remarks

This data object handler is used in a client server application. The client creates and registers a ClientRemotingHandler. The server creates and registers a PersistenceHandler and a HostRemotingHandler. The ClientRemotingHandler forwards the requests to the HostRemotingHandler. The HostRemotingHandler uses the PersistenceHandler to store, retrieve or delete data objects.

When data objects are load from the server to the client, all the objects in the DOG are serialized. When the changes are transmitted from the client to the server, the ClientRemotingHandler sends just the modifications to the server. The server loads the changed data objects from the database, performs the changes and saves the data objects to the database.

Example

A full example is available in the source of pmMDA.NET. Open the pmMDA.NET.Examples solution.

Requirements

Namespace: PmMda.Net.Dog.Remoting

Assembly: pmMDA.NET.Remoting.Client (in pmMDA.NET.Remoting.Client.dll)

See Also

ClientDataObjectHandler Members | PmMda.Net.Dog.Remoting Namespace