java.lang.Object
swim.actor.ActorCell
swim.actor.ActorTier
swim.actor.ActorMesh
- All Implemented Interfaces:
swim.system.CellBinding,swim.system.CellContext,swim.system.MeshBinding,swim.system.MeshContext,swim.system.TierBinding,swim.system.TierContext,swim.util.Log
public class ActorMesh
extends ActorTier
implements swim.system.MeshBinding, swim.system.MeshContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ActorSpaceswim.system.PartBindingaddPart(swim.structure.Value partKey, swim.system.PartBinding part) swim.api.policy.PolicyDirective<swim.api.auth.Identity>authenticate(swim.api.auth.Credentials credentials) <T> TbottomMesh(Class<T> meshClass) final swim.system.MeshAddressfinal swim.system.CellBindingfinal swim.system.CellContext<A extends swim.api.agent.Agent>
swim.api.agent.AgentFactory<A>createAgentFactory(swim.system.NodeBinding node, Class<? extends A> agentClass) swim.api.agent.AgentFactory<?>createAgentFactory(swim.system.NodeBinding node, swim.api.agent.AgentDef agentDef) swim.system.HostBindingcreateHost(swim.system.HostAddress hostAddress) swim.system.LaneBindingcreateLane(swim.system.LaneAddress laneAddress) swim.system.LaneBindingcreateLane(swim.system.NodeBinding node, swim.system.LaneDef laneDef) swim.util.LogcreateLog(swim.system.CellAddress cellAddress) swim.util.LogcreateLog(swim.system.LogDef logDef) swim.system.NodeBindingcreateNode(swim.system.NodeAddress nodeAddress) swim.system.PartBindingcreatePart(swim.system.PartAddress partAddress) swim.api.policy.PolicycreatePolicy(swim.system.CellAddress cellAddress) swim.api.policy.PolicycreatePolicy(swim.system.PolicyDef policyDef) swim.concurrent.StagecreateStage(swim.concurrent.StageDef stageDef) swim.concurrent.StagecreateStage(swim.system.CellAddress cellAddress) swim.store.StoreBindingcreateStore(swim.store.StoreDef storeDef) swim.store.StoreBindingcreateStore(swim.system.CellAddress cellAddress) voiddidClose()voidfinal swim.system.EdgeBindingedge()swim.system.PartBindinggateway()swim.system.HostDefgetHostDef(swim.system.HostAddress hostAddress) swim.system.LaneDefgetLaneDef(swim.system.LaneAddress laneAddress) swim.system.NodeDefgetNodeDef(swim.system.NodeAddress nodeAddress) swim.system.PartBindinggetPart(swim.structure.Value partKey) swim.system.PartBindinggetPart(swim.uri.Uri nodeUri) swim.system.PartDefgetPartDef(swim.system.PartAddress partAddress) swim.system.HostBindinginjectHost(swim.system.HostAddress hostAddress, swim.system.HostBinding host) swim.system.LaneBindinginjectLane(swim.system.LaneAddress laneAddress, swim.system.LaneBinding lane) swim.util.LoginjectLog(swim.util.Log log) swim.system.NodeBindinginjectNode(swim.system.NodeAddress nodeAddress, swim.system.NodeBinding node) swim.system.PartBindinginjectPart(swim.system.PartAddress partAddress, swim.system.PartBinding part) swim.api.policy.PolicyinjectPolicy(swim.api.policy.Policy policy) swim.concurrent.StageinjectStage(swim.concurrent.Stage stage) swim.store.StoreBindinginjectStore(swim.store.StoreBinding store) final swim.system.MeshBindingfinal swim.system.MeshContextfinal swim.system.MeshDefmeshDef()final swim.system.MeshBindingvoidopenAgents(swim.system.NodeBinding node) swim.system.PartBindingvoidopenLanes(swim.system.NodeBinding node) protected swim.util.LogopenLog()voidopenMetaDownlink(swim.system.LinkBinding downlink, swim.system.NodeBinding metaDownlink) voidopenMetaHost(swim.system.HostBinding host, swim.system.NodeBinding metaHost) voidopenMetaLane(swim.system.LaneBinding lane, swim.system.NodeBinding metaLane) voidopenMetaMesh(swim.system.MeshBinding mesh, swim.system.NodeBinding metaMesh) voidopenMetaNode(swim.system.NodeBinding node, swim.system.NodeBinding metaNode) voidopenMetaPart(swim.system.PartBinding part, swim.system.NodeBinding metaPart) voidopenMetaUplink(swim.system.LinkBinding uplink, swim.system.NodeBinding metaUplink) swim.system.PartBindingopenPart(swim.uri.Uri nodeUri) protected swim.api.policy.Policyprotected swim.concurrent.Stageprotected swim.store.StoreBindingswim.system.PartBindingourself()swim.collections.FingerTrieSeq<swim.system.PartBinding>parts()voidsetGateway(swim.system.PartBinding gateway) voidsetMeshContext(swim.system.MeshContext meshContext) voidsetOurself(swim.system.PartBinding ourself) <T> TunwrapMesh(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, willUnloadMethods inherited from class swim.actor.ActorCell
bindDownlink, closeDownlink, closeLog, closePolicy, debug, edgeName, error, fail, info, meshUri, openDownlink, openUplink, policy, pushDown, pushUp, reportDown, trace, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface swim.system.CellBinding
openUplink, pushUpMethods inherited from interface swim.system.CellContext
bindDownlink, closeDownlink, openDownlink, policy, pushDown, reportDown, schedule, stage, storeMethods inherited from interface swim.util.Log
debug, error, fail, info, trace, warnMethods inherited from interface swim.system.MeshBinding
meshUriMethods inherited from interface swim.system.MeshContext
edgeName, meshUriMethods inherited from interface swim.system.TierBinding
close, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, tierContext, unloadMethods inherited from interface swim.system.TierContext
close, didLoad, didOpen, didStart, didStop, didUnload, willClose, willLoad, willOpen, willStart, willStop, willUnload
-
Constructor Details
-
ActorMesh
public ActorMesh(swim.system.MeshBinding meshBinding, swim.system.MeshDef meshDef)
-
-
Method Details
-
meshDef
public final swim.system.MeshDef meshDef() -
actorEdge
-
edge
public final swim.system.EdgeBinding edge()- Specified by:
edgein interfaceswim.system.MeshBinding- Specified by:
edgein interfaceswim.system.MeshContext
-
meshWrapper
public final swim.system.MeshBinding meshWrapper()- Specified by:
meshWrapperin interfaceswim.system.MeshBinding- Specified by:
meshWrapperin interfaceswim.system.MeshContext
-
meshBinding
public final swim.system.MeshBinding meshBinding() -
meshContext
public final swim.system.MeshContext meshContext()- Specified by:
meshContextin interfaceswim.system.MeshBinding
-
setMeshContext
public void setMeshContext(swim.system.MeshContext meshContext) - Specified by:
setMeshContextin interfaceswim.system.MeshBinding
-
unwrapMesh
- Specified by:
unwrapMeshin interfaceswim.system.MeshBinding- Specified by:
unwrapMeshin interfaceswim.system.MeshContext
-
bottomMesh
- Specified by:
bottomMeshin interfaceswim.system.MeshBinding- Specified by:
bottomMeshin interfaceswim.system.MeshContext
-
cellBinding
public final swim.system.CellBinding cellBinding()- Specified by:
cellBindingin classActorCell
-
cellContext
public final swim.system.CellContext cellContext()- Specified by:
cellContextin classActorCell
-
cellAddress
public final swim.system.MeshAddress cellAddress()- Specified by:
cellAddressin interfaceswim.system.CellContext- Specified by:
cellAddressin interfaceswim.system.MeshBinding- Specified by:
cellAddressin interfaceswim.system.MeshContext- Specified by:
cellAddressin classActorCell
-
gateway
public swim.system.PartBinding gateway()- Specified by:
gatewayin interfaceswim.system.MeshBinding
-
setGateway
public void setGateway(swim.system.PartBinding gateway) - Specified by:
setGatewayin interfaceswim.system.MeshBinding
-
ourself
public swim.system.PartBinding ourself()- Specified by:
ourselfin interfaceswim.system.MeshBinding
-
setOurself
public void setOurself(swim.system.PartBinding ourself) - Specified by:
setOurselfin interfaceswim.system.MeshBinding
-
parts
public swim.collections.FingerTrieSeq<swim.system.PartBinding> parts()- Specified by:
partsin interfaceswim.system.MeshBinding
-
getPart
public swim.system.PartBinding getPart(swim.uri.Uri nodeUri) - Specified by:
getPartin interfaceswim.system.MeshBinding
-
getPart
public swim.system.PartBinding getPart(swim.structure.Value partKey) - Specified by:
getPartin interfaceswim.system.MeshBinding
-
openPart
public swim.system.PartBinding openPart(swim.uri.Uri nodeUri) - Specified by:
openPartin interfaceswim.system.MeshBinding
-
openGateway
public swim.system.PartBinding openGateway()- Specified by:
openGatewayin interfaceswim.system.MeshBinding
-
addPart
public swim.system.PartBinding addPart(swim.structure.Value partKey, swim.system.PartBinding part) - Specified by:
addPartin interfaceswim.system.MeshBinding
-
createLog
public swim.util.Log createLog(swim.system.LogDef logDef) -
createLog
public swim.util.Log createLog(swim.system.CellAddress cellAddress) -
injectLog
public swim.util.Log injectLog(swim.util.Log log) -
openLog
protected swim.util.Log openLog() -
createPolicy
public swim.api.policy.Policy createPolicy(swim.system.PolicyDef policyDef) -
createPolicy
public swim.api.policy.Policy createPolicy(swim.system.CellAddress cellAddress) -
injectPolicy
public swim.api.policy.Policy injectPolicy(swim.api.policy.Policy policy) -
openPolicy
protected swim.api.policy.Policy openPolicy()- Overrides:
openPolicyin classActorCell
-
createStage
public swim.concurrent.Stage createStage(swim.concurrent.StageDef stageDef) -
createStage
public swim.concurrent.Stage createStage(swim.system.CellAddress cellAddress) -
injectStage
public swim.concurrent.Stage injectStage(swim.concurrent.Stage stage) -
openStage
protected swim.concurrent.Stage openStage() -
createStore
public swim.store.StoreBinding createStore(swim.store.StoreDef storeDef) -
createStore
public swim.store.StoreBinding createStore(swim.system.CellAddress cellAddress) -
injectStore
public swim.store.StoreBinding injectStore(swim.store.StoreBinding store) -
openStore
protected swim.store.StoreBinding openStore() -
openMetaMesh
public void openMetaMesh(swim.system.MeshBinding mesh, swim.system.NodeBinding metaMesh) - Specified by:
openMetaMeshin interfaceswim.system.MeshBinding- Specified by:
openMetaMeshin interfaceswim.system.MeshContext
-
getPartDef
public swim.system.PartDef getPartDef(swim.system.PartAddress partAddress) -
createPart
public swim.system.PartBinding createPart(swim.system.PartAddress partAddress) - Specified by:
createPartin interfaceswim.system.MeshContext
-
injectPart
public swim.system.PartBinding injectPart(swim.system.PartAddress partAddress, swim.system.PartBinding part) - Specified by:
injectPartin interfaceswim.system.MeshContext
-
openMetaPart
public void openMetaPart(swim.system.PartBinding part, swim.system.NodeBinding metaPart) - Specified by:
openMetaPartin interfaceswim.system.MeshBinding- Specified by:
openMetaPartin interfaceswim.system.MeshContext
-
getHostDef
public swim.system.HostDef getHostDef(swim.system.HostAddress hostAddress) -
createHost
public swim.system.HostBinding createHost(swim.system.HostAddress hostAddress) - Specified by:
createHostin interfaceswim.system.MeshContext
-
injectHost
public swim.system.HostBinding injectHost(swim.system.HostAddress hostAddress, swim.system.HostBinding host) - Specified by:
injectHostin interfaceswim.system.MeshContext
-
openMetaHost
public void openMetaHost(swim.system.HostBinding host, swim.system.NodeBinding metaHost) - Specified by:
openMetaHostin interfaceswim.system.MeshBinding- Specified by:
openMetaHostin interfaceswim.system.MeshContext
-
getNodeDef
public swim.system.NodeDef getNodeDef(swim.system.NodeAddress nodeAddress) -
createNode
public swim.system.NodeBinding createNode(swim.system.NodeAddress nodeAddress) - Specified by:
createNodein interfaceswim.system.MeshContext
-
injectNode
public swim.system.NodeBinding injectNode(swim.system.NodeAddress nodeAddress, swim.system.NodeBinding node) - Specified by:
injectNodein interfaceswim.system.MeshContext
-
openMetaNode
public void openMetaNode(swim.system.NodeBinding node, swim.system.NodeBinding metaNode) - Specified by:
openMetaNodein interfaceswim.system.MeshBinding- Specified by:
openMetaNodein interfaceswim.system.MeshContext
-
getLaneDef
public swim.system.LaneDef getLaneDef(swim.system.LaneAddress laneAddress) -
createLane
public swim.system.LaneBinding createLane(swim.system.LaneAddress laneAddress) - Specified by:
createLanein interfaceswim.system.MeshContext
-
injectLane
public swim.system.LaneBinding injectLane(swim.system.LaneAddress laneAddress, swim.system.LaneBinding lane) - Specified by:
injectLanein interfaceswim.system.MeshContext
-
openMetaLane
public void openMetaLane(swim.system.LaneBinding lane, swim.system.NodeBinding metaLane) - Specified by:
openMetaLanein interfaceswim.system.MeshBinding- Specified by:
openMetaLanein interfaceswim.system.MeshContext
-
openMetaUplink
public void openMetaUplink(swim.system.LinkBinding uplink, swim.system.NodeBinding metaUplink) - Specified by:
openMetaUplinkin interfaceswim.system.MeshBinding- Specified by:
openMetaUplinkin interfaceswim.system.MeshContext
-
openMetaDownlink
public void openMetaDownlink(swim.system.LinkBinding downlink, swim.system.NodeBinding metaDownlink) - Specified by:
openMetaDownlinkin interfaceswim.system.CellContext
-
createLane
public swim.system.LaneBinding createLane(swim.system.NodeBinding node, swim.system.LaneDef laneDef) - Specified by:
createLanein interfaceswim.system.MeshContext
-
openLanes
public void openLanes(swim.system.NodeBinding node) - Specified by:
openLanesin interfaceswim.system.MeshContext
-
createAgentFactory
public swim.api.agent.AgentFactory<?> createAgentFactory(swim.system.NodeBinding node, swim.api.agent.AgentDef agentDef) - Specified by:
createAgentFactoryin interfaceswim.system.MeshContext
-
createAgentFactory
public <A extends swim.api.agent.Agent> swim.api.agent.AgentFactory<A> createAgentFactory(swim.system.NodeBinding node, Class<? extends A> agentClass) - Specified by:
createAgentFactoryin interfaceswim.system.MeshContext
-
openAgents
public void openAgents(swim.system.NodeBinding node) - Specified by:
openAgentsin interfaceswim.system.MeshContext
-
authenticate
public swim.api.policy.PolicyDirective<swim.api.auth.Identity> authenticate(swim.api.auth.Credentials credentials) - Specified by:
authenticatein interfaceswim.system.MeshContext
-
didClose
public void didClose()- Specified by:
didClosein interfaceswim.system.TierBinding
-
didFail
- Specified by:
didFailin interfaceswim.system.TierBinding
-