public class DeviceProxyVariable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
lastUpdate |
protected java.lang.Object |
value |
Constructor and Description |
---|
DeviceProxyVariable(DeviceContext dctx,
java.lang.String name,
VariableMask mask) |
DeviceProxyVariable(DeviceVariableContext ctx,
VariableMask mask) |
DeviceProxyVariable(DeviceVariableContext ctx,
VariableMask mask,
java.lang.Object value,
java.lang.Long lastUpdate) |
DeviceProxyVariable(DeviceVariableContext ctx,
VariableMask mask,
VariableMediaType mediaType) |
DeviceProxyVariable(DeviceVariableContext ctx,
VariableMask mask,
VariableMediaType mediaType,
java.lang.Object value,
java.lang.Long lastUpdate) |
DeviceProxyVariable(PluginContext pctx,
java.lang.String deviceId,
java.lang.String name,
VariableMask mask) |
Modifier and Type | Method and Description |
---|---|
DeviceVariableContext |
getContext() |
DeviceVariableDescriptor |
getDescriptor() |
java.lang.Long |
getLastUpdate() |
VariableMask |
getMask() |
VariableMediaType |
getMediaType() |
DeviceVariableState |
getState() |
java.lang.Object |
getValue() |
boolean |
hasMediaType() |
void |
setValue(java.lang.Object value,
long timestamp) |
java.lang.String |
toString() |
public DeviceProxyVariable(PluginContext pctx, java.lang.String deviceId, java.lang.String name, VariableMask mask)
public DeviceProxyVariable(DeviceContext dctx, java.lang.String name, VariableMask mask)
public DeviceProxyVariable(DeviceVariableContext ctx, VariableMask mask)
public DeviceProxyVariable(DeviceVariableContext ctx, VariableMask mask, VariableMediaType mediaType)
public DeviceProxyVariable(DeviceVariableContext ctx, VariableMask mask, java.lang.Object value, java.lang.Long lastUpdate)
public DeviceProxyVariable(DeviceVariableContext ctx, VariableMask mask, VariableMediaType mediaType, java.lang.Object value, java.lang.Long lastUpdate)
public DeviceVariableContext getContext()
public DeviceVariableDescriptor getDescriptor()
public java.lang.Long getLastUpdate()
public VariableMask getMask()
public VariableMediaType getMediaType()
public DeviceVariableState getState()
public java.lang.Object getValue()
public boolean hasMediaType()
public void setValue(java.lang.Object value, long timestamp)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 Whizzo Software LLC. All rights reserved.