org.ccnx.ccn.test.io.content.CCNNetworkObjectTest.CounterListener Class Reference
List of all members.
Public Member Functions |
int | getCounter () |
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).
|
Protected Attributes |
Integer | _callbackCounter = 0 |
Member Function Documentation
void org.ccnx.ccn.test.io.content.CCNNetworkObjectTest.CounterListener.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. |
Implements org.ccnx.ccn.io.content.UpdateListener.
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/test/io/content/CCNNetworkObjectTest.java