Class TagHistoryStorageIntent
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.distributed.server.TagHistoryStorageIntent
-
- All Implemented Interfaces:
SecuredEntityImplementation<RemoteServiceSecurityConfig,java.lang.Void>
,TagHistorySecurityMarker
,com.inductiveautomation.metro.api.Intent<SampleSetProto.SampleSetPB,StorageResult>
public class TagHistoryStorageIntent extends java.lang.Object implements com.inductiveautomation.metro.api.Intent<SampleSetProto.SampleSetPB,StorageResult>, TagHistorySecurityMarker
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.sqltags.history.distributed.TagHistorySecurityMarker
TagHistorySecurityMarker.HistoryProviderDescriptorFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected GatewayContext
context
static java.lang.String
ID
protected LoggerEx
logger
-
Constructor Summary
Constructors Constructor Description TagHistoryStorageIntent(GatewayContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
protected java.lang.Object
getValue(SampleSetProto.ValuePB v, SampleSetProto.DataTypePB type)
StorageResult
receive(com.inductiveautomation.metro.api.ServerId sourceServerAddr, SampleSetProto.SampleSetPB data)
protected DataTypeClass
toDataTypeClass(SampleSetProto.DataTypePB d)
protected ScanclassHistorySet
toHistorySet(SampleSetProto.SampleSetPB data)
protected TagRetirementList
toRetirementList(SampleSetProto.SampleSetPB data)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.metro.api.Intent
failed, getDescription, getDiagnosticId, getDiagnosticIdForCall, getDisplayName, isTemporaryIntent
-
Methods inherited from interface com.inductiveautomation.ignition.gateway.gan.security.SecuredEntityImplementation
getClassSecurityConfig, getClassSecurityConfig, getMethodSecurityConfig, getMethodSecurityConfig, getSecurityContext
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
logger
protected LoggerEx logger
-
context
protected GatewayContext context
-
-
Constructor Detail
-
TagHistoryStorageIntent
public TagHistoryStorageIntent(GatewayContext context)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacecom.inductiveautomation.metro.api.Intent<SampleSetProto.SampleSetPB,StorageResult>
-
receive
public StorageResult receive(com.inductiveautomation.metro.api.ServerId sourceServerAddr, SampleSetProto.SampleSetPB data) throws java.lang.Exception
- Specified by:
receive
in interfacecom.inductiveautomation.metro.api.Intent<SampleSetProto.SampleSetPB,StorageResult>
- Throws:
java.lang.Exception
-
toHistorySet
protected ScanclassHistorySet toHistorySet(SampleSetProto.SampleSetPB data)
-
toRetirementList
protected TagRetirementList toRetirementList(SampleSetProto.SampleSetPB data)
-
toDataTypeClass
protected DataTypeClass toDataTypeClass(SampleSetProto.DataTypePB d)
-
getValue
protected java.lang.Object getValue(SampleSetProto.ValuePB v, SampleSetProto.DataTypePB type)
-
-