IReplObjHandler : IUnknown

The IReplObjHandler : IUnknown interface implements all required functions related to the serialization and deserialization of an object.

At a Glance

Header file: Cesync.h
Platforms: H/PC
Windows CE versions: 2.0 and later

IReplObjHandler methods Description
IReplObjHandler::DeleteObj Deletes an object in the store.
IReplObjHandler::GetPacket An ActiveSync service provider de-serializes the object and sends back a packet of data to the ActiveSync service manager. The ActiveSync service manager then sends this packet to the device or the desktop.
IReplObjHandler::Reset Resets the ActiveSync service provider so all the resources that the ActiveSync service provider used during the serialization or deserialization are freed.
IReplObjHandler::SetPacket A packet of data is received, and an ActiveSync service provider then serializes the data into an object.
IReplObjHandler::Setup Sets up the ActiveSync service provider so it's ready to serialize or de-serialize an object.
IUnknown::AddRef Increments reference count.
IUnknown::QueryInterface Returns pointers to supported interfaces.
IUnknown::Release Decrements reference count.

Remarks

The IReplObjHandler : IUnknown interface encapsulates all functions needed to serialize or de-serialize the objects. Any object can be de-serialized into one or more data packets of any size. An ActiveSync service provider determines the number of packets and their sizes. These packets are exchanged between the Windows CE device and the desktop. The receiver of these packets is guaranteed to receive them in the exact same order as they are sent and the receiver can then serialize these packets back into an object.