edu.nyu.cs.pdsg.switchboard
Class SimpleSbEventHandler

java.lang.Object
  extended byedu.nyu.cs.pdsg.switchboard.SimpleSbEventHandler
All Implemented Interfaces:
SbClient, SbEventHandler, SbLayerable, java.io.Serializable
Direct Known Subclasses:
DrbacSbEventHandler, HomeSubscription, SingletonLifetimeManager

public class SimpleSbEventHandler
extends java.lang.Object
implements SbEventHandler, java.io.Serializable

See Also:
Serialized Form

Field Summary
private  boolean ready
           
private  SbProvider top
           
 
Constructor Summary
SimpleSbEventHandler()
           
 
Method Summary
 boolean amReady()
           
 void handleEvent(SbProvider layer)
          Defines the behavior how to deliver an Object to the layer above.
 void providerReady()
          called when provider is ready
 void setTopOfStack(SbProvider _top)
          _top is what the SbEventHandler uses to call close()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

top

private SbProvider top

ready

private boolean ready
Constructor Detail

SimpleSbEventHandler

public SimpleSbEventHandler()
Method Detail

setTopOfStack

public void setTopOfStack(SbProvider _top)
Description copied from interface: SbEventHandler
_top is what the SbEventHandler uses to call close()

Specified by:
setTopOfStack in interface SbEventHandler

providerReady

public void providerReady()
Description copied from interface: SbClient
called when provider is ready

Specified by:
providerReady in interface SbClient

amReady

public boolean amReady()

handleEvent

public void handleEvent(SbProvider layer)
Description copied from interface: SbClient
Defines the behavior how to deliver an Object to the layer above.

Specified by:
handleEvent in interface SbClient
Returns:
the resulting Object after delivery is delivered


Copyright (c) 2002-2003 New York University RLAB