public final class HubState extends Object
| Constructor and Description |
|---|
HubState() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(String host,
String username,
String password) |
void |
disconnect(String host) |
Registry |
getRegistry()
Gets the RMI
Registry to register the server with, creating
it if necessary. |
void |
start()
Starts the hub.
|
void |
stat()
Prints the status of the hub.
|
void |
stop()
Stops the hub.
|
public Registry getRegistry() throws RemoteException
Registry to register the server with, creating
it if necessary.Registry to register the server with.RemoteException - If an error occurs while attempting to create
the Registry.public void start()
public void stop()
public void disconnect(String host)
public void stat()
Copyright © 2017. All rights reserved.