com.tivoli.twg.engine
Interface TWGDeltaShadow

All Known Implementing Classes:
TWGManagedObjectSet, TWGManagedObjectStatusSet

public interface TWGDeltaShadow

Interface definition for definining version-stamp sensitive computation to the shadow record generation for TWGBaseShadowedObject interfaced objects. This allows objects with large internal states which are often updated in small units to generate shadow records containing only needed delta information, instead of a full copy of the state data.


Method Summary
 byte[] GetDeltaShadowRecord(java.util.Locale locale, long since_ver)
          Get buffer containing value delta since requested version stamp of the shadowed attributes to be delivered to the console shadow class.
 

Method Detail

GetDeltaShadowRecord

public byte[] GetDeltaShadowRecord(java.util.Locale locale,
                                   long since_ver)
Get buffer containing value delta since requested version stamp of the shadowed attributes to be delivered to the console shadow class. This data is delivered along with the ObjectID (so the ObjectID shouldn't be included in the shadowed data record). If this interface is implemented, the GetShadowRecord() method implemented for the TWGBaseShadowedObject interface must be modified to call the GetDeltaShadowRecord() method with a since_ver setting of 0.

Parameters:
locale - - Locale requested (for any locale-specific content)
since_ver - - Version to be used as basis for delta (the version currently possessed by the caller).
Returns:
byte array containing opaque data representation of attribute values to be delivered to the console shadow class.