java.lang.Object
swim.actor.ActorCell
swim.actor.ActorTier
swim.actor.ActorPart
- All Implemented Interfaces:
CellBinding
,CellContext
,PartBinding
,PartContext
,TierBinding
,TierContext
,Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ActorMesh
authenticate
(Credentials credentials) <T> T
bottomPart
(Class<T> partClass) final PartAddress
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) createPolicy
(CellAddress cellAddress) createPolicy
(PolicyDef policyDef) createStage
(StageDef stageDef) createStage
(CellAddress cellAddress) createStore
(StoreDef storeDef) createStore
(CellAddress cellAddress) void
didClose()
void
getHostDef
(HostAddress hostAddress) getLaneDef
(LaneAddress laneAddress) getNodeDef
(NodeAddress nodeAddress) void
hostDidConnect
(Uri hostUri) void
hostDidDisconnect
(Uri hostUri) hosts()
injectHost
(HostAddress hostAddress, HostBinding host) injectLane
(LaneAddress laneAddress, LaneBinding lane) injectNode
(NodeAddress nodeAddress, NodeBinding node) injectPolicy
(Policy policy) injectStage
(Stage stage) injectStore
(StoreBinding store) master()
final MeshBinding
mesh()
void
openAgents
(NodeBinding node) openHost
(Uri hostUri, HostBinding host) 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
openMetaNode
(NodeBinding node, NodeBinding metaNode) void
openMetaPart
(PartBinding part, NodeBinding metaPart) void
openMetaUplink
(LinkBinding uplink, NodeBinding metaUplink) protected Policy
protected Stage
protected StoreBinding
final PartBinding
final PartContext
final PartDef
partDef()
partKey()
final PartBinding
void
void
setMaster
(HostBinding master) void
setPartContext
(PartContext partContext) <T> T
unwrapPart
(Class<T> partClass) 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.PartBinding
meshUri
Methods inherited from interface swim.system.PartContext
edgeName, meshUri
-
Constructor Details
-
ActorPart
-
-
Method Details
-
partDef
-
actorMesh
-
mesh
- Specified by:
mesh
in interfacePartBinding
- Specified by:
mesh
in interfacePartContext
-
partWrapper
- Specified by:
partWrapper
in interfacePartBinding
- Specified by:
partWrapper
in interfacePartContext
-
partBinding
-
partContext
- Specified by:
partContext
in interfacePartBinding
-
setPartContext
- Specified by:
setPartContext
in interfacePartBinding
-
unwrapPart
- Specified by:
unwrapPart
in interfacePartBinding
- Specified by:
unwrapPart
in interfacePartContext
-
bottomPart
- Specified by:
bottomPart
in interfacePartBinding
- Specified by:
bottomPart
in interfacePartContext
-
cellBinding
- Specified by:
cellBinding
in classActorCell
-
cellContext
- Specified by:
cellContext
in classActorCell
-
cellAddress
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfacePartBinding
- Specified by:
cellAddress
in interfacePartContext
- Specified by:
cellAddress
in classActorCell
-
partKey
- Specified by:
partKey
in interfacePartBinding
- Specified by:
partKey
in interfacePartContext
-
predicate
- Specified by:
predicate
in interfacePartBinding
-
master
- Specified by:
master
in interfacePartBinding
-
setMaster
- Specified by:
setMaster
in interfacePartBinding
-
hosts
- Specified by:
hosts
in interfacePartBinding
-
getHost
- Specified by:
getHost
in interfacePartBinding
-
openHost
- Specified by:
openHost
in interfacePartBinding
-
openHost
- Specified by:
openHost
in interfacePartBinding
-
hostDidConnect
- Specified by:
hostDidConnect
in interfacePartContext
-
hostDidDisconnect
- Specified by:
hostDidDisconnect
in interfacePartContext
-
reopenUplinks
public void reopenUplinks()- Specified by:
reopenUplinks
in interfacePartBinding
-
createLog
-
createLog
-
injectLog
-
openLog
-
createPolicy
-
createPolicy
-
injectPolicy
-
openPolicy
- Overrides:
openPolicy
in classActorCell
-
createStage
-
createStage
-
injectStage
-
openStage
-
createStore
-
createStore
-
injectStore
-
openStore
-
openMetaPart
- Specified by:
openMetaPart
in interfacePartBinding
- Specified by:
openMetaPart
in interfacePartContext
-
getHostDef
-
createHost
- Specified by:
createHost
in interfacePartContext
-
injectHost
- Specified by:
injectHost
in interfacePartContext
-
openMetaHost
- Specified by:
openMetaHost
in interfacePartBinding
- Specified by:
openMetaHost
in interfacePartContext
-
getNodeDef
-
createNode
- Specified by:
createNode
in interfacePartContext
-
injectNode
- Specified by:
injectNode
in interfacePartContext
-
openMetaNode
- Specified by:
openMetaNode
in interfacePartBinding
- Specified by:
openMetaNode
in interfacePartContext
-
getLaneDef
-
createLane
- Specified by:
createLane
in interfacePartContext
-
injectLane
- Specified by:
injectLane
in interfacePartContext
-
openMetaLane
- Specified by:
openMetaLane
in interfacePartBinding
- Specified by:
openMetaLane
in interfacePartContext
-
openMetaUplink
- Specified by:
openMetaUplink
in interfacePartBinding
- Specified by:
openMetaUplink
in interfacePartContext
-
openMetaDownlink
- Specified by:
openMetaDownlink
in interfaceCellContext
-
createLane
- Specified by:
createLane
in interfacePartContext
-
openLanes
- Specified by:
openLanes
in interfacePartContext
-
createAgentFactory
- Specified by:
createAgentFactory
in interfacePartContext
-
createAgentFactory
public <A extends Agent> AgentFactory<A> createAgentFactory(NodeBinding node, Class<? extends A> agentClass) - Specified by:
createAgentFactory
in interfacePartContext
-
openAgents
- Specified by:
openAgents
in interfacePartContext
-
authenticate
- Specified by:
authenticate
in interfacePartContext
-
didClose
public void didClose()- Specified by:
didClose
in interfaceTierBinding
-
didFail
- Specified by:
didFail
in interfaceTierBinding
-