bees.core
Class DLProtocolPresentation
java.lang.Object
|
+--bees.core.ProtocolPresentation
|
+--bees.core.ExtendedProtocolPresentation
|
+--bees.core.DLProtocolPresentation
- All Implemented Interfaces:
- ExternalCapsuleReceiver, ExternalChannel
- Direct Known Subclasses:
- AuthenticatorDLPresentation
- public class DLProtocolPresentation
- extends ExtendedProtocolPresentation
A DLProtocolPresentation is used to communicate with the DLProtocolSession
in a protocol 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 |
DLProtocolPresentation
protected DLProtocolPresentation()
bootstrap
public void bootstrap()
waitForCompletion
public boolean waitForCompletion(long timeout)
- Wait for the download to complete.
- Parameters:
timeout
- The time to wait before timing out.
waitForCompletion
public boolean waitForCompletion()
- Wait indefinitely for the download to complete.
createBasicPresentation
public ProtocolPresentation createBasicPresentation()
createExtendedPresentation
public ExtendedProtocolPresentation createExtendedPresentation()
downloadComplete
public void downloadComplete(boolean success)
bootComplete
public void bootComplete(ProtocolPresentation pp)
userReceive
public void userReceive(Node node,
int method,
ExternalCapsule ec)
- Overrides:
userReceive
in class ExtendedProtocolPresentation
toString
public java.lang.String toString()
- Overrides:
toString
in class ExtendedProtocolPresentation
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/