Package org.jcsp.net
Class Node.AttributesAccess
- java.lang.Object
-
- org.jcsp.net.Node.AttributesAccess
-
- All Implemented Interfaces:
Node.Attributes
- Enclosing class:
- Node
private class Node.AttributesAccess extends java.lang.Object implements Node.Attributes
A class for exposing access to the private attributes. This is private so that only this class can create an instance. The interface (Attributes) is public to allow it to be used once created.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AttributesAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInitFailedException
exception(java.lang.String msg)
NodeKey
getNodeKey()
ProtocolManager
getProtocolManager()
ServiceManager
getServiceManager()
void
setInitialized()
void
setSpecifications(Specification[] specs)
NodeID
setUIFactory(UIFactory factory)
void
startLinkManager()
-
-
-
Method Detail
-
setSpecifications
public void setSpecifications(Specification[] specs)
- Specified by:
setSpecifications
in interfaceNode.Attributes
-
setUIFactory
public NodeID setUIFactory(UIFactory factory)
- Specified by:
setUIFactory
in interfaceNode.Attributes
-
setInitialized
public void setInitialized()
- Specified by:
setInitialized
in interfaceNode.Attributes
-
getProtocolManager
public ProtocolManager getProtocolManager()
- Specified by:
getProtocolManager
in interfaceNode.Attributes
-
getServiceManager
public ServiceManager getServiceManager()
- Specified by:
getServiceManager
in interfaceNode.Attributes
-
getNodeKey
public NodeKey getNodeKey()
- Specified by:
getNodeKey
in interfaceNode.Attributes
-
exception
public NodeInitFailedException exception(java.lang.String msg)
- Specified by:
exception
in interfaceNode.Attributes
-
startLinkManager
public void startLinkManager()
- Specified by:
startLinkManager
in interfaceNode.Attributes
-
-