org.almendra.janet.cas.node.interpreters
Class NodeStartedInterpreter
java.lang.Object
org.almendra.janet.cas.node.interpreters.NodeInterpreter
org.almendra.janet.cas.node.interpreters.NodeStartedInterpreter
- All Implemented Interfaces:
- IInterpreter
- Direct Known Subclasses:
- NodeStartedInterpreter
public class NodeStartedInterpreter
- extends NodeInterpreter
- implements IInterpreter
- Author:
- Oliver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewTitlePrefix
public static final java.lang.String ViewTitlePrefix
- See Also:
- Constant Field Values
nodeStartedTrait
protected NodeStartedTrait nodeStartedTrait
NodeStartedInterpreter
public NodeStartedInterpreter()
execute
public void execute(CommandAccessor cmdAccessor)
- Specified by:
execute
in interface IInterpreter
getNewNodeName
protected java.lang.String getNewNodeName(RegistryLocation location)
throws java.rmi.AccessException,
java.rmi.RemoteException
- Throws:
java.rmi.AccessException
java.rmi.RemoteException
registryList
protected java.lang.String[] registryList(RegistryLocation registryLocation)
throws java.rmi.AccessException,
java.rmi.RemoteException
- Throws:
java.rmi.AccessException
java.rmi.RemoteException
checkCentralExists
protected boolean checkCentralExists(RegistryLocation registryLocation)
throws java.rmi.AccessException,
java.rmi.RemoteException
- Throws:
java.rmi.AccessException
java.rmi.RemoteException
registerWithCentral
protected void registerWithCentral(CommandAccessor cmdAccessor)
throws java.rmi.NotBoundException,
java.rmi.RemoteException,
InvalidCommandException
- Parameters:
objectSpace
-
- Throws:
java.rmi.NotBoundException
java.rmi.RemoteException
InvalidCommandException
installNodeAnchor
protected NodeAnchor installNodeAnchor(IObjectSpace os,
NodeStartedCommand command)
- Parameters:
objectSpace
-
bind
protected void bind(NodeStartedCommand command,
IObjectSpace os)
throws java.rmi.RemoteException
- Parameters:
command
-
- Throws:
java.rmi.RemoteException
primBind
protected boolean primBind(java.lang.String nodeName,
NodeStartedCommand command)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCentralDispatcher
protected IAgentDispatcher getCentralDispatcher(RegistryLocation registryLocation)
throws java.rmi.AccessException,
java.rmi.RemoteException,
java.rmi.NotBoundException
- Throws:
java.rmi.AccessException
java.rmi.RemoteException
java.rmi.NotBoundException
getRegistry
protected java.rmi.registry.Registry getRegistry(RegistryLocation registryLocation)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
commandNames
public StringVector commandNames()
- Specified by:
commandNames
in interface IInterpreter