|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
rice.post.PostClient
public abstract class PostClient
This class is a superclass for clients running on top of the Post object.
| Constructor Summary | |
|---|---|
PostClient()
Builds a PostClient. |
|
| Method Summary | |
|---|---|
PostClientAddress |
getAddress()
Returns the address of this PostClient. |
abstract void |
getContentHashReferences(Continuation command)
This method is periodically invoked by Post in order to get a list of all handles under which the application has live objects. |
abstract void |
getLogs(Continuation command)
This method is periodically invoked by Post in order to get a list of all mutable data which the application is interested in. |
abstract void |
notificationReceived(NotificationMessage nm,
Continuation command)
This method is how the Post object informs the clients that there is an incoming notification. |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostClient()
| Method Detail |
|---|
public abstract void notificationReceived(NotificationMessage nm,
Continuation command)
nm - The incoming notification.command - THe command to return whether or not the notification should be accepted (Boolean true or false)public abstract void getContentHashReferences(Continuation command)
public abstract void getLogs(Continuation command)
public final PostClientAddress getAddress()
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||