| java.lang.Object org.datashare.objects.UpdateAvailableMsg
UpdateAvailableMsg | public class UpdateAvailableMsg implements Serializable(Code) | | This class is sent in the command stream and is used to indicate a change in the
tree structure has happened (Consumer started consuming a Channel, etc).
author: Charles Wood version: 1.0 |
activityMsg | String activityMsg(Code) | | Message that may indicate what activity happened that made update necessary
|
newTreeNode | boolean newTreeNode(Code) | | indicates if treeNode is to be added or removed, true for add, false for remove
|
serialVersionUID | final static long serialVersionUID(Code) | | used to indicate what version of this class is seriallized.
|
UpdateAvailableMsg | public UpdateAvailableMsg()(Code) | | Constructor, does no initialization of its own
|
UpdateAvailableMsg | public UpdateAvailableMsg(String activityMsg)(Code) | | class constructor, used to send message to HC functions to inform them to retrieve new tree
Parameters: activityMsg - the message that indicates what activity occured |
UpdateAvailableMsg | public UpdateAvailableMsg(String activityMsg, DefaultObjectInfo doi, boolean newTreeNode)(Code) | | class constructor, used to send information to sessionmangers about how to update their tree
Parameters: activityMsg - the message that indicates what activity occured Parameters: doi - the instance to be added/removed from the tree Parameters: newTreeNode - true if doi is to be added, false if it is to beremoved |
getIsNewTreeNode | public boolean getIsNewTreeNode()(Code) | | return indication of whether or not to add the associated treeNode,
true if treeNode is new and should be added, false if it is already known and
should be removed.
true if treeNode is new, false otherwise |
getMsg | public String getMsg()(Code) | | returns a description of what activity has transpired
the activity that caused this message to be issued |
getObject | public DefaultObjectInfo getObject()(Code) | | returns the object that is associated with this update
the object for this update |
|
|