All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----c2.framework.Brick
|
+----c2.framework.Component
|
+----c2.framework.ComponentThread
|
+----c2.comp.StackADTThread
Implements a stack abstract date type (ADT) in its own thread of control. It accepts requests for modifying and accessing the stack from components in a C2 architecture below it, and notifies such components of its internal state changes.
Incoming Notifications
none
Outgoing Requests
none
Incoming Requests
push (Object value);
pop ();
top ();
get_state ();
Outgoing Notifications
pushed (Object value);
popped (Object value);
top (Object value);
state (Stack stack);
empty ();
protected Stack stack
public StackADTThread()
public StackADTThread(String _name)
public void create(String _name)
public synchronized void handle(Request r)
public synchronized void handle(Notification n)
All Packages Class Hierarchy This Package Previous Next Index