|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.ourgrid.common.rmi.OurgridUnicastRemoteObject
org.ourgrid.mygrid.scheduler.gump.GumpManagerImpl
public class GumpManagerImpl
The GuMPManager
remote object responsible for receiving RMI
calls and translating them to calls on the EBSchedulerFacade
.
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Constructor Summary | |
---|---|
GumpManagerImpl(EBSchedulerFacade ebSchedulerFacade)
The constructor. |
|
GumpManagerImpl(EBSchedulerFacade ebSchedulerFacade,
MGSecureClientSocketFactory secureClientSocketFactory,
MGSecureServerSocketFactory secureServerSocketFactory,
int securePort)
The constructor with SecureSocketFactories. |
Method Summary | |
---|---|
java.util.Collection<PeerEntry> |
getPeerEntries(GridManagerListenerRemote newListener)
Gets the GuMPSpec s. |
void |
peerAlive(java.lang.String url)
Notifies that the peer PeerSpec is alive. |
void |
peerIsDead(java.lang.String url)
Notifies that the peer PeerSpec is dead. |
void |
setPeers(java.util.Collection<PeerSpec> peerSpecs)
Sets the GuMPSpec s. |
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 |
Constructor Detail |
---|
public GumpManagerImpl(EBSchedulerFacade ebSchedulerFacade) throws java.rmi.RemoteException
ebSchedulerFacade
- The EBSchedulerFacade
java.rmi.RemoteException
- When a connection problem occurs while trying to
access this object through RMIpublic GumpManagerImpl(EBSchedulerFacade ebSchedulerFacade, MGSecureClientSocketFactory secureClientSocketFactory, MGSecureServerSocketFactory secureServerSocketFactory, int securePort) throws java.rmi.RemoteException
ebSchedulerFacade
- The EBSchedulerFacade.secureClientSocketFactory
- The SecureClientSocketFactory.secureServerSocketFactory
- The SecureServerSocketFactory.securePort
- The port where the secure services will be bound.
java.rmi.RemoteException
Method Detail |
---|
public void setPeers(java.util.Collection<PeerSpec> peerSpecs) throws java.rmi.RemoteException
GumpManager
GuMPSpec
s.
setPeers
in interface GumpManager
peerSpecs
- the new GuMPSpec
s.
java.rmi.RemoteException
- when a communication error occurs.GumpManager.setPeers(Collection)
public java.util.Collection<PeerEntry> getPeerEntries(GridManagerListenerRemote newListener) throws java.rmi.RemoteException
GumpManager
GuMPSpec
s.
getPeerEntries
in interface GumpManager
newListener
- TODO
GuMPSpec
s.
java.rmi.RemoteException
- when a communication error occurs.GumpManager.getPeerEntries(GridManagerListenerRemote)
public void peerAlive(java.lang.String url)
GumpManager
PeerSpec
is alive.
peerAlive
in interface GumpManager
url
- Url of the Peer that is now alive.GumpManager.peerAlive(java.lang.String)
public void peerIsDead(java.lang.String url)
GumpManager
PeerSpec
is dead.
peerIsDead
in interface GumpManager
url
- Url of the Peer that is now dead.GumpManager.peerIsDead(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |