JanosVM v0.5.1 Java API

edu.utah.janosvm.sys
Class TeamList

java.lang.Object
  |
  +--edu.utah.janosvm.sys.ListNode
        |
        +--edu.utah.janosvm.sys.Importable
              |
              +--edu.utah.janosvm.sys.TeamList
Direct Known Subclasses:
TeamListMessenger

public abstract class TeamList
extends Importable

An Importable for TeamListBackEnd that just provides a path for callbacks.


Field Summary
static java.lang.String exportID
          The name of the TeamListBackEnd object exported by the kernel.
 
Fields inherited from class edu.utah.janosvm.sys.ListNode
pred, succ
 
Constructor Summary
TeamList()
           
 
Method Summary
protected  void bindTo(Exportable ex)
          Bind this Importable to the given Exportable.
abstract  void event(TeamReservation tr, TeamEvent ev)
          Callback for handling events related to teams.
protected  void unbindFrom()
          Unbind this Importable from any objects its referencing.
 
Methods inherited from class edu.utah.janosvm.sys.Importable
copy, finalize
 
Methods inherited from class edu.utah.janosvm.sys.ListNode
append, clone, prepend, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exportID

public static java.lang.String exportID
The name of the TeamListBackEnd object exported by the kernel.
Constructor Detail

TeamList

public TeamList()
Method Detail

bindTo

protected final void bindTo(Exportable ex)
Description copied from class: Importable
Bind this Importable to the given Exportable. The most common implementation of this method would be to cast the Exportable to the type that the Importable subclass handles and store it in the object as well as any other handy pointers/values.
Overrides:
bindTo in class Importable
Tags copied from class: Importable
Parameters:
ex - The Exportable that is being imported.

unbindFrom

protected final void unbindFrom()
Description copied from class: Importable
Unbind this Importable from any objects its referencing. The most common implementation of this method would be null out any object references in this object.
Overrides:
unbindFrom in class Importable

event

public abstract void event(TeamReservation tr,
                           TeamEvent ev)
Callback for handling events related to teams. NOTE: This is called in the context of the kernel so you must use the provided TeamReservation if you want to do anything in the Importables team.
Parameters:
tr - A TeamReservation thats reserved the team that `this' is in.
ev - The TeamEvent object that describes the event that occurred.

JanosVM v0.5.1 Java API

This documentation is Copyright (C) 2000-2001 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Jun 1, 2001