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.
-
WhiteBoardImp(String)
- Constructor.
-
addSubject(String)
- Add a Subject to this WhiteBoard.
-
main(String[])
-
-
removeSubject(String)
- Remove a Subject from this WhiteBoard.
WhiteBoardImp
public WhiteBoardImp(String name) throws RemoteException
- Constructor.
- Parameters:
- name - the WhiteBoard's name.
addSubject
public Subject addSubject(String name)
- Add a Subject to this WhiteBoard. Return the Subject created.
- Parameters:
- name - Subject's name.
removeSubject
public boolean removeSubject(String name)
- Remove a Subject from this WhiteBoard. Return true if successful.
- Parameters:
- name - Subject's name.
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index