- java.lang.Object
-
- swim.kernel.KernelProxy
-
- swim.actor.ActorKernel
-
- All Implemented Interfaces:
IpInterface
,Kernel
,KernelBinding
,KernelContext
,Log
public class ActorKernel extends KernelProxy
-
-
Field Summary
-
Fields inherited from class swim.kernel.KernelProxy
kernelBinding, kernelContext, STARTED, status, STATUS
-
-
Constructor Summary
Constructors Constructor Description ActorKernel()
ActorKernel(double kernelPriority)
-
Method Summary
-
Methods inherited from class swim.kernel.KernelProxy
bindTcp, bindTls, connectTcp, connectTls, createAgentFactory, createAgentFactory, createAgentFactory, createAgentFactory, createAgentRoute, createAuthenticator, createEdge, createHost, createHost, createLane, createLane, createLog, createLog, createMesh, createMesh, createNode, createNode, createPart, createPart, createPlaneFactory, createPlaneFactory, createPolicy, createPolicy, createSchedule, createServiceFactory, createStage, createStage, createStore, createStore, debug, defineAgent, defineAuthenticator, defineLog, definePlane, definePolicy, defineSchedule, defineService, defineStage, defineStore, didStop, error, fail, getHostDef, getLaneDef, getMeshDef, getNodeDef, getPartDef, getService, info, injectAuthenticator, injectEdge, injectHost, injectKernel, injectLane, injectLog, injectMesh, injectNode, injectPart, injectPlane, injectPolicy, injectSchedule, injectService, injectStage, injectStore, ipSettings, isStarted, kernelBinding, kernelContext, kernelWrapper, modules, openAgents, openLanes, openMetaDownlink, openMetaEdge, openMetaHost, openMetaLane, openMetaMesh, openMetaNode, openMetaPart, openMetaUplink, openService, reportDown, routeRequest, run, setKernelBinding, setKernelContext, stage, start, station, stop, trace, unwrapKernel, warn, willStart
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.io.IpInterface
bindTcp, bindTcp, bindTcp, bindTls, bindTls, bindTls, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls
-
Methods inherited from interface swim.kernel.Kernel
openService, openService
-
-
-
-
Method Detail
-
kernelPriority
public final double kernelPriority()
Description copied from interface:Kernel
Returns the relative priority of thisKernel
implementation. Kernel implementations with greater priority inject into kernel stacks before implementations with lower priority.- Specified by:
kernelPriority
in interfaceKernel
- Specified by:
kernelPriority
in classKernelProxy
-
defineSpace
public SpaceDef defineSpace(Item spaceConfig)
- Specified by:
defineSpace
in interfaceKernel
- Specified by:
defineSpace
in interfaceKernelContext
- Overrides:
defineSpace
in classKernelProxy
-
defineActorSpace
public ActorSpaceDef defineActorSpace(Item spaceConfig)
-
openSpace
public Space openSpace(SpaceDef spaceDef)
- Specified by:
openSpace
in interfaceKernel
- Specified by:
openSpace
in interfaceKernelContext
- Overrides:
openSpace
in classKernelProxy
-
openActorSpace
public ActorSpace openActorSpace(ActorSpaceDef spaceDef)
-
createActorSpace
protected ActorSpace createActorSpace(String spaceName, ActorSpaceDef spaceDef)
-
createAuthenticators
protected void createAuthenticators(ActorSpace space, ActorSpaceDef spaceDef)
-
createAuthenticator
protected void createAuthenticator(ActorSpace space, AuthenticatorDef authenticatorDef)
-
createPlanes
protected void createPlanes(ActorSpace space, ActorSpaceDef spaceDef)
-
createPlane
protected void createPlane(ActorSpace space, PlaneDef planeDef)
-
getSpace
public Space getSpace(String spaceName)
- Specified by:
getSpace
in interfaceKernel
- Specified by:
getSpace
in interfaceKernelContext
- Overrides:
getSpace
in classKernelProxy
-
getActorSpace
public ActorSpace getActorSpace(String spaceName)
-
defineMesh
public MeshDef defineMesh(Item meshConfig)
- Specified by:
defineMesh
in interfaceKernelContext
- Overrides:
defineMesh
in classKernelProxy
-
defineActorMesh
public ActorMeshDef defineActorMesh(Item meshConfig)
-
definePart
public PartDef definePart(Item partConfig)
- Specified by:
definePart
in interfaceKernelContext
- Overrides:
definePart
in classKernelProxy
-
defineActorPart
public ActorPartDef defineActorPart(Item partConfig)
-
defineHost
public HostDef defineHost(Item hostConfig)
- Specified by:
defineHost
in interfaceKernelContext
- Overrides:
defineHost
in classKernelProxy
-
defineActorHost
public ActorHostDef defineActorHost(Item hostConfig)
-
defineNode
public NodeDef defineNode(Item nodeConfig)
- Specified by:
defineNode
in interfaceKernelContext
- Overrides:
defineNode
in classKernelProxy
-
defineActorNode
public ActorNodeDef defineActorNode(Item nodeConfig)
-
defineLane
public LaneDef defineLane(Item laneConfig)
- Specified by:
defineLane
in interfaceKernelContext
- Overrides:
defineLane
in classKernelProxy
-
defineActorLane
public ActorLaneDef defineActorLane(Item laneConfig)
-
didStart
public void didStart()
- Overrides:
didStart
in classKernelProxy
-
willStop
public void willStop()
- Overrides:
willStop
in classKernelProxy
-
fromValue
public static ActorKernel fromValue(Value moduleConfig)
-
-