org.almendra.janet.cas.node
Class CentralAnchor
java.lang.Object
org.almendra.janet.cas.node.AbstractNodeAnchor
org.almendra.janet.cas.node.CentralAnchor
- All Implemented Interfaces:
- INamedObject
public class CentralAnchor
- extends AbstractNodeAnchor
- Author:
- Oliver
Methods inherited from class org.almendra.janet.cas.node.AbstractNodeAnchor |
deregisterForeignApplication, deregisterForeignApplications, deregisterNode, getLabel, getName, getNode, getNodeDescriptor, getNodeImage, getNodeImage, getViewTitle, isForeignApplicationRegistered, isForeignCapabilityRegistered, registerForeignApplication, setLabel, setNodeDescriptor, setViewTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMI_NAME
public static final java.lang.String RMI_NAME
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
clusterImage
protected CentralClusterImage clusterImage
nodesRequestingShutdown
protected java.util.List nodesRequestingShutdown
CentralAnchor
protected CentralAnchor()
CentralAnchor
public CentralAnchor(Node node)
- Parameters:
node
-
getCentralClusterImage
public CentralClusterImage getCentralClusterImage()
- Returns:
- Returns the clusterImage.
getClusterImage
public AbstractClusterImage getClusterImage()
- Specified by:
getClusterImage
in class AbstractNodeAnchor
- Returns:
- Returns the clusterImage.
registerNode
public void registerNode(IAgentDispatcher agentDispatcher,
NodeLocation nodeLocation)
- Parameters:
nodeName
-
setName
public void setName(java.lang.String nodeName)
- Overrides:
setName
in class AbstractNodeAnchor
getCentralDispatcher
public IAgentDispatcher getCentralDispatcher()
- Specified by:
getCentralDispatcher
in class AbstractNodeAnchor
- Returns:
- Returns the centralAgentDispatcher.
addShutdownRequest
public boolean addShutdownRequest(java.lang.String nodeName)
- Parameters:
string
-
removeShutdownRequest
public boolean removeShutdownRequest(java.lang.String nodeName)
- Parameters:
string
-
getNextShutdownRequest
public java.lang.String getNextShutdownRequest()
disconnectRequest
public boolean disconnectRequest(Node node)
- Specified by:
disconnectRequest
in class AbstractNodeAnchor
mayDisconnect
public boolean mayDisconnect()
- Overrides:
mayDisconnect
in class AbstractNodeAnchor