org.ccnx.ccn.io.content.UpdateListener Interface Reference

Interface that allows external listeners to register to be notified when a network object receives an update. More...

Inheritance diagram for org.ccnx.ccn.io.content.UpdateListener:

org.ccnx.ccn.io.CCNFileInputStream org.ccnx.ccn.io.content.LocalCopyListener org.ccnx.ccn.io.content.LocalCopyWrapper

List of all members.

Public Member Functions

void newVersionAvailable (CCNNetworkObject<?> newVersion, boolean wasSave)
 Notification when a new version is available of a given object (the object's data and version information will already have been updated to reflect the new version).


Detailed Description

Interface that allows external listeners to register to be notified when a network object receives an update.

Member Function Documentation

void org.ccnx.ccn.io.content.UpdateListener.newVersionAvailable ( CCNNetworkObject<?>  newVersion,
boolean  wasSave 
)

Notification when a new version is available of a given object (the object's data and version information will already have been updated to reflect the new version).

Parameters:
newVersion The newly updated object.
wasSave If true, someone called save() on this particular object, if false, the object received new data from the network.

Implemented in org.ccnx.ccn.io.CCNFileInputStream, org.ccnx.ccn.io.content.LocalCopyListener, and org.ccnx.ccn.io.content.LocalCopyWrapper.


The documentation for this interface was generated from the following file:

Generated on Thu Feb 16 00:45:02 2012 for Content-Centric Networking in Java by  doxygen 1.5.6