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 privateAttributesAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInitFailedExceptionexception(java.lang.String msg)NodeKeygetNodeKey()ProtocolManagergetProtocolManager()ServiceManagergetServiceManager()voidsetInitialized()voidsetSpecifications(Specification[] specs)NodeIDsetUIFactory(UIFactory factory)voidstartLinkManager()
-
-
-
Method Detail
-
setSpecifications
public void setSpecifications(Specification[] specs)
- Specified by:
setSpecificationsin interfaceNode.Attributes
-
setUIFactory
public NodeID setUIFactory(UIFactory factory)
- Specified by:
setUIFactoryin interfaceNode.Attributes
-
setInitialized
public void setInitialized()
- Specified by:
setInitializedin interfaceNode.Attributes
-
getProtocolManager
public ProtocolManager getProtocolManager()
- Specified by:
getProtocolManagerin interfaceNode.Attributes
-
getServiceManager
public ServiceManager getServiceManager()
- Specified by:
getServiceManagerin interfaceNode.Attributes
-
getNodeKey
public NodeKey getNodeKey()
- Specified by:
getNodeKeyin interfaceNode.Attributes
-
exception
public NodeInitFailedException exception(java.lang.String msg)
- Specified by:
exceptionin interfaceNode.Attributes
-
startLinkManager
public void startLinkManager()
- Specified by:
startLinkManagerin interfaceNode.Attributes
-
-