Module swim.runtime
Package swim.runtime.warp
Class WarpLaneModel<View extends WarpLaneView,U extends WarpUplinkModem>
- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneModel<View,U>
-
- swim.runtime.warp.WarpLaneModel<View,U>
-
- All Implemented Interfaces:
DownlinkFactory
,SwimRef
,CellBinding
,CellContext
,LaneBinding
,TierBinding
,Log
- Direct Known Subclasses:
CommandLaneModel
,DemandLaneModel
,DemandMapLaneModel
,JoinMapLaneModel
,JoinValueLaneModel
,ListLaneModel
,MapLaneModel
,SpatialLaneModel
,SupplyLaneModel
,ValueLaneModel
public abstract class WarpLaneModel<View extends WarpLaneView,U extends WarpUplinkModem> extends LaneModel<View,U>
-
-
Field Summary
-
Fields inherited from class swim.runtime.AbstractTierBinding
CLOSED_PHASE, CLOSED_STATE, CLOSING_STATE, FAILED_STATE, FAILING_STATE, LOADED_PHASE, LOADED_STATE, LOADING_STATE, OPENED_PHASE, OPENED_STATE, OPENING_STATE, PHASE_MASK, PHASE_SHIFT, RECOVERING_STATE, STARTED_PHASE, STARTED_STATE, STARTING_STATE, STATE_MASK, status, STATUS, STOPPING_STATE, UNLOADING_STATE
-
-
Constructor Summary
Constructors Constructor Description WarpLaneModel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected U
createUplink(LinkBinding link)
protected abstract U
createWarpUplink(WarpBinding link)
void
cueDown()
protected void
didEnter(Identity identity)
protected void
didLeave(Identity identity)
protected void
didUplink(U uplink)
protected void
onCommand(CommandMessage message)
void
pushUp(PushRequest pushRequest)
void
pushUpCommand(CommandMessage message)
void
sendDown(Value body)
-
Methods inherited from class swim.runtime.LaneModel
bindDownlink, closeDownlink, closeLaneView, closeUplink, debug, didClose, didCloseLaneView, didFail, didOpenLaneView, error, getLaneView, getUplink, hostUri, info, laneContext, laneUri, laneWrapper, meshUri, node, nodeUri, openDownlink, openLaneView, openUplink, partKey, policy, pushDown, schedule, setLaneContext, stage, store, tierContext, trace, unwrapLane, uplinks, warn, willClose, willLoad, willOpen, willStart, willStop, willUnload
-
Methods inherited from class swim.runtime.AbstractTierBinding
activate, close, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload
-
Methods inherited from class swim.runtime.AbstractSwimRef
command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.runtime.LaneBinding
laneType
-
-
-
-
Method Detail
-
createUplink
protected U createUplink(LinkBinding link)
- Specified by:
createUplink
in classLaneModel<View extends WarpLaneView,U extends WarpUplinkModem>
-
createWarpUplink
protected abstract U createWarpUplink(WarpBinding link)
-
cueDown
public void cueDown()
-
sendDown
public void sendDown(Value body)
-
pushUp
public void pushUp(PushRequest pushRequest)
- Specified by:
pushUp
in interfaceCellBinding
- Specified by:
pushUp
in classLaneModel<View extends WarpLaneView,U extends WarpUplinkModem>
-
pushUpCommand
public void pushUpCommand(CommandMessage message)
- Specified by:
pushUpCommand
in interfaceLaneBinding
- Specified by:
pushUpCommand
in classLaneModel<View extends WarpLaneView,U extends WarpUplinkModem>
-
onCommand
protected void onCommand(CommandMessage message)
-
didUplink
protected void didUplink(U uplink)
- Overrides:
didUplink
in classLaneModel<View extends WarpLaneView,U extends WarpUplinkModem>
-
didEnter
protected void didEnter(Identity identity)
-
didLeave
protected void didLeave(Identity identity)
-
-