org.ourgrid.corepeer.ui
Class CorePeerUIManager
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.ourgrid.common.rmi.OurgridUnicastRemoteObject
org.ourgrid.corepeer.ui.CorePeerUIManager
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, UIManager
public class CorePeerUIManager
- extends OurgridUnicastRemoteObject
- implements UIManager
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
getInstance
public static UIManager getInstance()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
startCorePeerService
public void startCorePeerService()
throws java.rmi.AccessException,
java.rmi.RemoteException
- Description copied from interface:
UIManager
- Starts CorePeer Service
- Specified by:
startCorePeerService
in interface UIManager
- Throws:
java.rmi.RemoteException
- if a communication problem occurs
java.rmi.AccessException
stopCorePeerService
public void stopCorePeerService()
throws CorePeerUIException,
java.rmi.AccessException,
java.rmi.RemoteException,
java.rmi.NotBoundException
- Description copied from interface:
UIManager
- Stops CorePeer Service
- Specified by:
stopCorePeerService
in interface UIManager
- Throws:
CorePeerUIException
java.rmi.RemoteException
- if a communication problem occurs
java.rmi.AccessException
java.rmi.NotBoundException
isCorePeerRunning
public boolean isCorePeerRunning()
throws java.rmi.RemoteException
- Description copied from interface:
UIManager
- Checks if the corepeer service is running
- Specified by:
isCorePeerRunning
in interface UIManager
- Returns:
- true if the corepeer is online
- Throws:
java.rmi.RemoteException
- if a communication problem occurs
statusCorePeerService
public java.util.Collection<ObjectID> statusCorePeerService()
throws java.rmi.AccessException,
java.rmi.RemoteException,
java.rmi.NotBoundException
- Description copied from interface:
UIManager
- Gets the CorePeer status.
- Specified by:
statusCorePeerService
in interface UIManager
- Returns:
- This CorePeer status.
- Throws:
java.rmi.RemoteException
- if a communication problem occurs
java.rmi.AccessException
java.rmi.NotBoundException