Interface modules.Module
All Packages Class Hierarchy This Package Previous Next Index
Interface modules.Module
- public interface Module
- extends Object
Modules must implement this interface to be detected as valid modules
- Version:
- $Id: Module.java,v 1.1.1.1 1997/03/05 13:35:16 leo Exp $
- Author:
- Matthias L. Jugel, Marcus Meißner
-
receive(String)
- Receive data from somewhere.
-
setLoader(Object)
- Set the loader of the module.
setLoader
public abstract void setLoader(Object loader)
- Set the loader of the module. This is necessary to know if you want to
contact the modules parent.
- Parameters:
- loader - The object that has loaded this module.
receive
public abstract boolean receive(String s)
- Receive data from somewhere. If a modules does not want to receive data
it should return false to remove itself from the list of receiver modules.
- Parameters:
- s - The string we receive.
All Packages Class Hierarchy This Package Previous Next Index