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...

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, org.ccnx.ccn.io.content.LocalCopyWrapper, and org.ccnx.ccn.test.io.content.CCNNetworkObjectTest.CounterListener.


The documentation for this interface was generated from the following file:
Generated on Fri May 13 16:27:46 2011 for Content-Centric Networking in Java by  doxygen 1.6.3