- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.lane.LaneModel<ValueLaneView<?>,ValueLaneUplink>
-
- swim.runtime.lane.ValueLaneModel
-
- All Implemented Interfaces:
swim.api.downlink.DownlinkFactory,swim.api.ref.SwimRef,CellBinding,CellContext,LaneBinding,TierBinding,swim.store.StoreBinding,swim.store.StoreContext,swim.util.Log
public class ValueLaneModel extends LaneModel<ValueLaneView<?>,ValueLaneUplink>
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.api.data.ValueData<swim.structure.Value>dataprotected intflagsprotected swim.structure.Valuekey-
Fields inherited from class swim.runtime.lane.LaneModel
laneContext
-
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 ValueLaneModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValueLaneUplinkcreateUplink(LinkBinding link)protected voiddidOpenLaneView(ValueLaneView<?> view)swim.structure.Valueget()booleanisResident()ValueLaneModelisResident(boolean isResident)booleanisSigned()ValueLaneModelisSigned(boolean isSigned)booleanisTransient()ValueLaneModelisTransient(boolean isTransient)voidonCommand(swim.warp.CommandMessage message)protected voidopenStore()<V> Vset(ValueLaneView<V> view, V newObject)voidsetLaneContext(LaneContext laneContext)-
Methods inherited from class swim.runtime.lane.LaneModel
agentKey, bindDownlink, closeData, closeDownlink, closeLaneView, closeUplink, cueDown, data, dataBindings, debug, decodeRequest, didClose, didCloseLaneView, didEnter, didFail, didLeave, didRequest, didRespond, didUplink, doRespond, error, getLaneView, getUplink, getUplinks, hostUri, httpDownlink, httpUplink, info, injectListData, injectMapData, injectSpatialData, injectValueData, laneContext, laneUri, meshUri, nodeUri, openDownlink, openLaneView, openListData, openMapData, openSpatialData, openUplink, openValueData, partKey, policy, pushDown, pushUp, pushUpCommand, schedule, sendDown, stage, tierContext, trace, unwrapLane, warn, willClose, willLoad, willOpen, willRequest, willRespond, 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, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
-
-
-
Method Detail
-
createUplink
protected ValueLaneUplink createUplink(LinkBinding link)
- Specified by:
createUplinkin classLaneModel<ValueLaneView<?>,ValueLaneUplink>
-
setLaneContext
public void setLaneContext(LaneContext laneContext)
- Specified by:
setLaneContextin interfaceLaneBinding- Overrides:
setLaneContextin classLaneModel<ValueLaneView<?>,ValueLaneUplink>
-
openStore
protected void openStore()
-
didOpenLaneView
protected void didOpenLaneView(ValueLaneView<?> view)
- Specified by:
didOpenLaneViewin classLaneModel<ValueLaneView<?>,ValueLaneUplink>
-
onCommand
public void onCommand(swim.warp.CommandMessage message)
- Overrides:
onCommandin classLaneModel<ValueLaneView<?>,ValueLaneUplink>
-
isResident
public final boolean isResident()
-
isResident
public ValueLaneModel isResident(boolean isResident)
-
isTransient
public final boolean isTransient()
-
isTransient
public ValueLaneModel isTransient(boolean isTransient)
-
isSigned
public final boolean isSigned()
-
isSigned
public ValueLaneModel isSigned(boolean isSigned)
-
get
public swim.structure.Value get()
-
set
public <V> V set(ValueLaneView<V> view, V newObject)
-
-