package com.c2kernel.entity.proxy; import com.c2kernel.entity.C2KLocalObject; public interface EntityProxyObserver { /************************************************************************** * Subscribed items are broken apart and fed one by one to these methods. * Replacement after an event is done by feeding the new memberbase with the same id. * ID could be an XPath? **************************************************************************/ public void add(C2KLocalObject contents); /************************************************************************** * the 'type' parameter should be an indication of the type of object * supplied so that the subscriber can associate the call back with * one of its subscriptions. If we go with an Xpath subscription form, * then the id will probably be sufficient. * Should be comparable (substring whatever) with the parameter given to * the subscribe method of ItemProxy. **************************************************************************/ public void remove(String id); }