Bees v0.5.0 API

bees.core
Class IDTranslatorPresentation

java.lang.Object
  |
  +--bees.core.ProtocolPresentation
        |
        +--bees.core.ExtendedProtocolPresentation
              |
              +--bees.core.IDTranslatorPresentation
All Implemented Interfaces:
ExternalCapsuleReceiver, ExternalChannel

public abstract class IDTranslatorPresentation
extends ExtendedProtocolPresentation

An IDTranslatorPresentation interacts with the IDTranslatorSession in the flow domain.


Fields inherited from class bees.core.ExtendedProtocolPresentation
state, STATE_COMPLETE, STATE_CONNECTED, STATE_ERROR, STATE_ERROR_TIMEOUT, STATE_NEWBORN, STATE_REGISTERED, STATE_USER
 
Constructor Summary
IDTranslatorPresentation()
          Construct an empty IDTranslatorPresentation.
 
Method Summary
abstract  void newFlow(CapabilityReference neighbor, TypeID flowID)
          Call back used to notify the user of a new flow identifier.
 java.lang.String toString()
           
 void userReceive(Node node, int method, ExternalCapsule ec)
           
 
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 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
 

Constructor Detail

IDTranslatorPresentation

public IDTranslatorPresentation()
Construct an empty IDTranslatorPresentation.
Method Detail

userReceive

public void userReceive(Node node,
                        int method,
                        ExternalCapsule ec)
Overrides:
userReceive in class ExtendedProtocolPresentation

newFlow

public abstract void newFlow(CapabilityReference neighbor,
                             TypeID flowID)
Call back used to notify the user of a new flow identifier.
Parameters:
neighbor - The Neighbor that sent the unknown Capsule identifier.
flowID - The flow identifier that the unknown Capsule identifier was mapped to.

toString

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

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/