Bees v0.5.0 API

bees.core
Class IDTranslatorSession

java.lang.Object
  |
  +--bees.core.ProtocolSession
        |
        +--bees.core.ExtendedProtocolSession
              |
              +--bees.core.IDTranslatorSession
All Implemented Interfaces:
ExternalCapsuleReceiver

public final class IDTranslatorSession
extends ExtendedProtocolSession

An IDTranslatorSession manages any IDTranslationProtocol state and interacts with an external interests.


Fields inherited from class bees.core.ExtendedProtocolSession
METHOD_ADD_NEIGHBOR, METHOD_ERROR, METHOD_NONE, METHOD_REGISTER, METHOD_REM_NEIGHBOR, METHOD_REPLY, METHOD_UNREGISTER, METHOD_USER, REGISTER_TIMEOUT
 
Fields inherited from class bees.core.ProtocolSession
neighbors
 
Method Summary
 void addNeighbor(Node node, ExternalCapsule ec, NeighborImpl ni)
          Handle a neighbor addition.
 void attachNeighbor(Node node, Neighbor neighbor)
          Call back used to attach receivers for this protocol's Capsules.
 java.lang.String toString()
           
 
Methods inherited from class bees.core.ExtendedProtocolSession
getInterests, getNeighbors, notifyInterests, receive, register, removeNeighbor, reply, reply, unregister, userReceive
 
Methods inherited from class bees.core.ProtocolSession
addNeighbor, detachNeighbor, getByteArray, getCache, removeNeighbor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

attachNeighbor

public void attachNeighbor(Node node,
                           Neighbor neighbor)
Description copied from class: ProtocolSession
Call back used to attach receivers for this protocol's Capsules.
Overrides:
attachNeighbor in class ProtocolSession
See Also:
ProtocolSession.attachNeighbor(Node, Neighbor)

addNeighbor

public void addNeighbor(Node node,
                        ExternalCapsule ec,
                        NeighborImpl ni)
Description copied from class: ExtendedProtocolSession
Handle a neighbor addition.
Overrides:
addNeighbor in class ExtendedProtocolSession
See Also:
ExtendedProtocolSession.addNeighbor(Node, ExternalCapsule, NeighborImpl)

toString

public java.lang.String toString()
Overrides:
toString in class ExtendedProtocolSession

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/