Package com.nt.udc.admin.server.api
Class NodeAPIImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.nt.udc.admin.server.api.NodeAPIImpl
- All Implemented Interfaces:
NodeAPI
,Serializable
,Remote
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDomainAPI
(String name) Get the id of the node for this XmlTl1Api.Get the name of the node for this XmlTl1Api.boolean
void
setAdminServer
(AdminServer adminServer) void
void
setNodeName
(String nodeName) void
setNodeTemplateDef
(TemplateDef nodeTemplate) void
void
stopNode()
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Constructor Details
-
NodeAPIImpl
- Throws:
RemoteException
-
-
Method Details
-
getNodeId
Description copied from interface:NodeAPI
Get the id of the node for this XmlTl1Api.- Specified by:
getNodeId
in interfaceNodeAPI
- Returns:
- The is of the node for this XmlTl1Api
- Throws:
NodeAPIException
- if there is an error retrieving the id of the node.RemoteException
- if there is a RMI communication error.
-
getNodeName
Description copied from interface:NodeAPI
Get the name of the node for this XmlTl1Api.- Specified by:
getNodeName
in interfaceNodeAPI
- Returns:
- The name of the node for this XmlTl1Api
- Throws:
NodeAPIException
- if there is an error retrieving the name of the node.RemoteException
- if there is a RMI communication exception.
-
setNodeId
- Specified by:
setNodeId
in interfaceNodeAPI
- Throws:
NodeAPIException
RemoteException
-
setNodeName
- Specified by:
setNodeName
in interfaceNodeAPI
- Throws:
NodeAPIException
RemoteException
-
startNode
- Specified by:
startNode
in interfaceNodeAPI
- Throws:
NodeAPIException
RemoteException
-
stopNode
- Specified by:
stopNode
in interfaceNodeAPI
- Throws:
NodeAPIException
RemoteException
-
isStarted
- Specified by:
isStarted
in interfaceNodeAPI
- Throws:
NodeAPIException
RemoteException
-
setAdminServer
- Throws:
NodeAPIException
RemoteException
-
getAdminServer
- Throws:
NodeAPIException
RemoteException
-
setNodeTemplateDef
-
getDomainAPI
- Specified by:
getDomainAPI
in interfaceNodeAPI
- Throws:
NodeAPIException
-