java.lang.Object
swim.actor.ActorCell
swim.actor.ActorTier
swim.actor.ActorMesh
- All Implemented Interfaces:
CellBinding
,CellContext
,MeshBinding
,MeshContext
,TierBinding
,TierContext
,Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ActorSpace
addPart
(Value partKey, PartBinding part) authenticate
(Credentials credentials) <T> T
bottomMesh
(Class<T> meshClass) final MeshAddress
final CellBinding
final CellContext
<A extends Agent>
AgentFactory<A>createAgentFactory
(NodeBinding node, Class<? extends A> agentClass) AgentFactory<?>
createAgentFactory
(NodeBinding node, AgentDef agentDef) createHost
(HostAddress hostAddress) createLane
(LaneAddress laneAddress) createLane
(NodeBinding node, LaneDef laneDef) createLog
(CellAddress cellAddress) createNode
(NodeAddress nodeAddress) createPart
(PartAddress partAddress) createPolicy
(CellAddress cellAddress) createPolicy
(PolicyDef policyDef) createStage
(StageDef stageDef) createStage
(CellAddress cellAddress) createStore
(StoreDef storeDef) createStore
(CellAddress cellAddress) void
didClose()
void
final EdgeBinding
edge()
gateway()
getHostDef
(HostAddress hostAddress) getLaneDef
(LaneAddress laneAddress) getNodeDef
(NodeAddress nodeAddress) getPartDef
(PartAddress partAddress) injectHost
(HostAddress hostAddress, HostBinding host) injectLane
(LaneAddress laneAddress, LaneBinding lane) injectNode
(NodeAddress nodeAddress, NodeBinding node) injectPart
(PartAddress partAddress, PartBinding part) injectPolicy
(Policy policy) injectStage
(Stage stage) injectStore
(StoreBinding store) final MeshBinding
final MeshContext
final MeshDef
meshDef()
final MeshBinding
void
openAgents
(NodeBinding node) void
openLanes
(NodeBinding node) protected Log
openLog()
void
openMetaDownlink
(LinkBinding downlink, NodeBinding metaDownlink) void
openMetaHost
(HostBinding host, NodeBinding metaHost) void
openMetaLane
(LaneBinding lane, NodeBinding metaLane) void
openMetaMesh
(MeshBinding mesh, NodeBinding metaMesh) void
openMetaNode
(NodeBinding node, NodeBinding metaNode) void
openMetaPart
(PartBinding part, NodeBinding metaPart) void
openMetaUplink
(LinkBinding uplink, NodeBinding metaUplink) protected Policy
protected Stage
protected StoreBinding
ourself()
parts()
void
setGateway
(PartBinding gateway) void
setMeshContext
(MeshContext meshContext) void
setOurself
(PartBinding ourself) <T> T
unwrapMesh
(Class<T> meshClass) Methods inherited from class swim.actor.ActorTier
close, closeStage, closeStore, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, schedule, stage, start, stop, store, tierContext, unload, willClose, willLoad, willOpen, willStart, willStop, willUnload
Methods inherited from class swim.actor.ActorCell
bindDownlink, closeDownlink, closeLog, closePolicy, debug, edgeName, error, fail, info, meshUri, openDownlink, openUplink, policy, pushDown, pushUp, reportDown, trace, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface swim.system.CellBinding
openUplink, pushUp
Methods inherited from interface swim.system.CellContext
bindDownlink, closeDownlink, openDownlink, policy, pushDown, reportDown, schedule, stage, store
Methods inherited from interface swim.system.MeshBinding
meshUri
Methods inherited from interface swim.system.MeshContext
edgeName, meshUri
-
Constructor Details
-
ActorMesh
-
-
Method Details
-
meshDef
-
actorEdge
-
edge
- Specified by:
edge
in interfaceMeshBinding
- Specified by:
edge
in interfaceMeshContext
-
meshWrapper
- Specified by:
meshWrapper
in interfaceMeshBinding
- Specified by:
meshWrapper
in interfaceMeshContext
-
meshBinding
-
meshContext
- Specified by:
meshContext
in interfaceMeshBinding
-
setMeshContext
- Specified by:
setMeshContext
in interfaceMeshBinding
-
unwrapMesh
- Specified by:
unwrapMesh
in interfaceMeshBinding
- Specified by:
unwrapMesh
in interfaceMeshContext
-
bottomMesh
- Specified by:
bottomMesh
in interfaceMeshBinding
- Specified by:
bottomMesh
in interfaceMeshContext
-
cellBinding
- Specified by:
cellBinding
in classActorCell
-
cellContext
- Specified by:
cellContext
in classActorCell
-
cellAddress
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfaceMeshBinding
- Specified by:
cellAddress
in interfaceMeshContext
- Specified by:
cellAddress
in classActorCell
-
gateway
- Specified by:
gateway
in interfaceMeshBinding
-
setGateway
- Specified by:
setGateway
in interfaceMeshBinding
-
ourself
- Specified by:
ourself
in interfaceMeshBinding
-
setOurself
- Specified by:
setOurself
in interfaceMeshBinding
-
parts
- Specified by:
parts
in interfaceMeshBinding
-
getPart
- Specified by:
getPart
in interfaceMeshBinding
-
getPart
- Specified by:
getPart
in interfaceMeshBinding
-
openPart
- Specified by:
openPart
in interfaceMeshBinding
-
openGateway
- Specified by:
openGateway
in interfaceMeshBinding
-
addPart
- Specified by:
addPart
in interfaceMeshBinding
-
createLog
-
createLog
-
injectLog
-
openLog
-
createPolicy
-
createPolicy
-
injectPolicy
-
openPolicy
- Overrides:
openPolicy
in classActorCell
-
createStage
-
createStage
-
injectStage
-
openStage
-
createStore
-
createStore
-
injectStore
-
openStore
-
openMetaMesh
- Specified by:
openMetaMesh
in interfaceMeshBinding
- Specified by:
openMetaMesh
in interfaceMeshContext
-
getPartDef
-
createPart
- Specified by:
createPart
in interfaceMeshContext
-
injectPart
- Specified by:
injectPart
in interfaceMeshContext
-
openMetaPart
- Specified by:
openMetaPart
in interfaceMeshBinding
- Specified by:
openMetaPart
in interfaceMeshContext
-
getHostDef
-
createHost
- Specified by:
createHost
in interfaceMeshContext
-
injectHost
- Specified by:
injectHost
in interfaceMeshContext
-
openMetaHost
- Specified by:
openMetaHost
in interfaceMeshBinding
- Specified by:
openMetaHost
in interfaceMeshContext
-
getNodeDef
-
createNode
- Specified by:
createNode
in interfaceMeshContext
-
injectNode
- Specified by:
injectNode
in interfaceMeshContext
-
openMetaNode
- Specified by:
openMetaNode
in interfaceMeshBinding
- Specified by:
openMetaNode
in interfaceMeshContext
-
getLaneDef
-
createLane
- Specified by:
createLane
in interfaceMeshContext
-
injectLane
- Specified by:
injectLane
in interfaceMeshContext
-
openMetaLane
- Specified by:
openMetaLane
in interfaceMeshBinding
- Specified by:
openMetaLane
in interfaceMeshContext
-
openMetaUplink
- Specified by:
openMetaUplink
in interfaceMeshBinding
- Specified by:
openMetaUplink
in interfaceMeshContext
-
openMetaDownlink
- Specified by:
openMetaDownlink
in interfaceCellContext
-
createLane
- Specified by:
createLane
in interfaceMeshContext
-
openLanes
- Specified by:
openLanes
in interfaceMeshContext
-
createAgentFactory
- Specified by:
createAgentFactory
in interfaceMeshContext
-
createAgentFactory
public <A extends Agent> AgentFactory<A> createAgentFactory(NodeBinding node, Class<? extends A> agentClass) - Specified by:
createAgentFactory
in interfaceMeshContext
-
openAgents
- Specified by:
openAgents
in interfaceMeshContext
-
authenticate
- Specified by:
authenticate
in interfaceMeshContext
-
didClose
public void didClose()- Specified by:
didClose
in interfaceTierBinding
-
didFail
- Specified by:
didFail
in interfaceTierBinding
-