Bees v0.5.0 API

apps.authenticator
Class AuthenticatorDiscoveryPresentation

java.lang.Object
  |
  +--bees.core.ProtocolPresentation
        |
        +--bees.core.ExtendedProtocolPresentation
              |
              +--apps.discovery.DiscoveryProtocolPresentation
                    |
                    +--apps.authenticator.AuthenticatorDiscoveryPresentation
All Implemented Interfaces:
ExternalCapsuleReceiver, ExternalChannel

public class AuthenticatorDiscoveryPresentation
extends DiscoveryProtocolPresentation

The AuthenticatorDiscoveryPresentation is a DiscoveryProtocolPresentation specialized for use with authenticators. Currently, it will try to convert advertised material into NeighborImpl objects.


Fields inherited from class bees.core.ExtendedProtocolPresentation
state, STATE_COMPLETE, STATE_CONNECTED, STATE_ERROR, STATE_ERROR_TIMEOUT, STATE_NEWBORN, STATE_REGISTERED, STATE_USER
 
Method Summary
 void addNeighborReply(Node node, CapabilityReference cr)
           
 void found(CapabilityReference cr, TypeID fp, byte[] material, byte[] signature)
          Callback used to tell an application about a new neighbor.
 java.lang.String toString()
           
 
Methods inherited from class apps.discovery.DiscoveryProtocolPresentation
advertise, died, userReceive
 
Methods inherited from class bees.core.ExtendedProtocolPresentation
addNeighbor, allocateMessageID, drop, getState, lookupMessage, receive, register, registerReply, releaseMessageID, remNeighbor, remNeighborReply, sendCapsule, setState, unregister, unregisterReply, waitForState
 
Methods inherited from class bees.core.ProtocolPresentation
disconnected, getLocal, recycleCapsule, revoke, revokePermissions, setLocal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

addNeighborReply

public void addNeighborReply(Node node,
                             CapabilityReference cr)
Overrides:
addNeighborReply in class ExtendedProtocolPresentation
See Also:
ExtendedProtocolPresentation.addNeighborReply(Node, CapabilityReference)

found

public void found(CapabilityReference cr,
                  TypeID fp,
                  byte[] material,
                  byte[] signature)
Description copied from class: DiscoveryProtocolPresentation
Callback used to tell an application about a new neighbor.
Overrides:
found in class DiscoveryProtocolPresentation
See Also:
DiscoveryProtocolPresentation.found(CapabilityReference, TypeID, byte[], byte[])

toString

public java.lang.String toString()
Overrides:
toString in class DiscoveryProtocolPresentation
See Also:
Object.toString()

Bees v0.5.0 API

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/