- java.lang.Object
-
- swim.kernel.KernelProxy
-
- swim.meta.MetaKernel
-
- All Implemented Interfaces:
IpInterface
,Kernel
,KernelBinding
,KernelContext
,Log
public class MetaKernel extends KernelProxy
-
-
Field Summary
-
Fields inherited from class swim.kernel.KernelProxy
kernelBinding, kernelContext, STARTED, status, STATUS
-
-
Constructor Summary
Constructors Constructor Description MetaKernel()
MetaKernel(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, createPart, createPart, createPlaneFactory, createPlaneFactory, createPolicy, createPolicy, createSchedule, createServiceFactory, createStage, createStage, createStore, createStore, debug, defineAgent, defineAuthenticator, defineHost, defineLane, defineLog, defineMesh, defineNode, definePart, definePlane, definePolicy, defineSchedule, defineService, defineSpace, defineStage, defineStore, didStart, didStop, error, fail, getHostDef, getLaneDef, getMeshDef, getNodeDef, getPartDef, getService, getSpace, 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, openSpace, reportDown, routeRequest, run, setKernelBinding, setKernelContext, stage, start, station, stop, trace, unwrapKernel, warn, willStart, willStop
-
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
-
createNode
public NodeBinding createNode(NodeAddress nodeAddress)
- Specified by:
createNode
in interfaceKernelContext
- Overrides:
createNode
in classKernelProxy
-
createMeta
protected NodeBinding createMeta(EdgeBinding edge, UriPath nodePath)
-
createMetaEdge
protected NodeBinding createMetaEdge(EdgeBinding edge, UriPath nodePath)
-
createMetaMesh
protected NodeBinding createMetaMesh(EdgeBinding edge, UriPath nodePath)
-
createMetaMesh
public NodeBinding createMetaMesh(MeshBinding mesh, UriPath nodePath)
-
createMetaPart
protected NodeBinding createMetaPart(EdgeBinding edge, UriPath nodePath)
-
createMetaPart
public NodeBinding createMetaPart(MeshBinding mesh, UriPath nodePath)
-
createMetaPart
public NodeBinding createMetaPart(PartBinding part, UriPath nodePath)
-
createMetaHost
protected NodeBinding createMetaHost(EdgeBinding edge, UriPath nodePath)
-
createMetaHost
public NodeBinding createMetaHost(MeshBinding mesh, UriPath nodePath)
-
createMetaHost
public NodeBinding createMetaHost(PartBinding part, UriPath nodePath)
-
createMetaHost
public NodeBinding createMetaHost(HostBinding host, UriPath nodePath)
-
createMetaNode
protected NodeBinding createMetaNode(EdgeBinding edge, UriPath nodePath)
-
createMetaNode
public NodeBinding createMetaNode(MeshBinding mesh, UriPath nodePath)
-
createMetaNode
public NodeBinding createMetaNode(PartBinding part, UriPath nodePath)
-
createMetaNode
public NodeBinding createMetaNode(HostBinding host, UriPath nodePath)
-
createMetaNode
public NodeBinding createMetaNode(NodeBinding node, UriPath nodePath)
-
createMetaLane
public NodeBinding createMetaLane(NodeBinding node, UriPath nodePath)
-
createMetaLane
public NodeBinding createMetaLane(LaneBinding lane, UriPath nodePath)
-
createMetaUplink
public NodeBinding createMetaUplink(LaneBinding lane, UriPath nodePath)
-
createMetaUplink
public NodeBinding createMetaUplink(LinkContext uplink, UriPath nodePath)
-
fromValue
public static MetaKernel fromValue(Value moduleConfig)
-
-