All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteServer
|
+----java.rmi.examples.chat.SugarShack
ChatServer for simple demonstration
purposes. It assumes that it is the only
SugarShack implementation on the network, and that it
runs on the local host.
-
NAME
-
-
SugarShack()
-
-
add(ChatClient, String)
- Add a new chatter to the conversation.
-
main(String[])
- Start up, registering ourself as the
SugarShack
server for the local host.
NAME
public final static String NAME
SugarShack
public SugarShack() throws RemoteException
add
public ChatAdded add(ChatClient client,
String alias) throws RemoteException
- Add a new chatter to the conversation.
main
public static void main(String args[])
- Start up, registering ourself as the
SugarShack
server for the local host.
All Packages Class Hierarchy This Package Previous Next Index