apps.liveness
Class LivenessPresentation
java.lang.Object
|
+--bees.core.ProtocolPresentation
|
+--bees.core.ExtendedProtocolPresentation
|
+--apps.liveness.LivenessPresentation
- All Implemented Interfaces:
- ExternalCapsuleReceiver, ExternalChannel
- public class LivenessPresentation
- extends ExtendedProtocolPresentation
A LivnessPresentation is used to communicate with the LivenessSession in the
protocol's domain.
Methods inherited from class bees.core.ExtendedProtocolPresentation |
addNeighbor, addNeighborReply, allocateMessageID, drop, getState, lookupMessage, receive, register, registerReply, releaseMessageID, remNeighbor, remNeighborReply, sendCapsule, setState, unregister, unregisterReply, waitForState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LivenessPresentation
public LivenessPresentation()
- Construct an empty LivenessPresentation.
monitor
public void monitor(NeighborImpl ni)
- Ask the protocol to monitor the given neighbor.
- Parameters:
ni
- The neighbor to monitor.
lost
public void lost(CapabilityReference cr)
- Callback for handling lost neighbors.
- Parameters:
cr
- The reference to the lost neighbor.
userReceive
public final void userReceive(Node node,
int method,
ExternalCapsule ec)
- Overrides:
userReceive
in class ExtendedProtocolPresentation
- See Also:
ExtendedProtocolPresentation.userReceive(Node, int, ExternalCapsule)
toString
public java.lang.String toString()
- Overrides:
toString
in class ExtendedProtocolPresentation
- See Also:
Object.toString()
This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/