All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class weblab.net.WhiteBoardImp

java.lang.Object
   |
   +----java.rmi.server.RemoteObject
           |
           +----java.rmi.server.RemoteServer
                   |
                   +----java.rmi.server.UnicastRemoteObject
                           |
                           +----weblab.net.WhiteBoardImp

public class WhiteBoardImp
extends UnicastRemoteObject
implements WhiteBoard
WhiteBoard Implementation. Note that a new Subject with the same name as an existing Subject will replace the existing one.


Constructor Index

 o WhiteBoardImp(String)
Constructor.

Method Index

 o addSubject(String)
Add a Subject to this WhiteBoard.
 o main(String[])
 o removeSubject(String)
Remove a Subject from this WhiteBoard.

Constructors

 o WhiteBoardImp
 public WhiteBoardImp(String name) throws RemoteException
Constructor.

Parameters:
name - the WhiteBoard's name.

Methods

 o addSubject
 public Subject addSubject(String name)
Add a Subject to this WhiteBoard. Return the Subject created.

Parameters:
name - Subject's name.
 o removeSubject
 public boolean removeSubject(String name)
Remove a Subject from this WhiteBoard. Return true if successful.

Parameters:
name - Subject's name.
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index