Class OpcConnectionType
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
-
- com.inductiveautomation.ignition.gateway.opc.OpcConnectionType
-
- All Implemented Interfaces:
ExtensionPointType
,java.io.Serializable
,java.lang.Comparable<ExtensionPointType>
public abstract class OpcConnectionType extends BaseExtensionPointType
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
description, name, typeId
-
-
Constructor Summary
Constructors Constructor Description OpcConnectionType(java.lang.String typeId)
Convenience constructor assumes that the bundle keys are of the form: OPCServerTypes.TYPEID.[Display|Description]OpcConnectionType(java.lang.String typeId, java.lang.String nameKey, java.lang.String descriptionKey)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract OpcConnection
createNewOpcConnection(OPCServerSettingsRecord profile, GatewayContext context)
Create a new SROPCServer given the persistent record(s) that defines its propertiesjava.util.Optional<java.util.Collection<Property<?>>>
getTagExtensionProperties()
java.util.Optional<java.util.Collection<Property<?>>>
getTagGroupExtensionProperties()
-
Methods inherited from class com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
addRecordInstanceActions, compareTo, findProfileSettingsRecord, getDescription, getName, getSettingsRecordForeignKey, getTypeId, isEnabled, newRecordConfigPanel, onRecordDestroyed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.gateway.model.ExtensionPointType
getSettingsRecordType
-
-
-
-
Constructor Detail
-
OpcConnectionType
public OpcConnectionType(java.lang.String typeId, java.lang.String nameKey, java.lang.String descriptionKey)
-
OpcConnectionType
public OpcConnectionType(java.lang.String typeId)
Convenience constructor assumes that the bundle keys are of the form: OPCServerTypes.TYPEID.[Display|Description]
-
-
Method Detail
-
createNewOpcConnection
public abstract OpcConnection createNewOpcConnection(OPCServerSettingsRecord profile, GatewayContext context) throws java.lang.Exception
Create a new SROPCServer given the persistent record(s) that defines its properties- Parameters:
profile
- The record that defines this OPC server. OPC Server types should be able to use this record to look up their type-specific settings object via the PersistenceInterface- Throws:
java.lang.Exception
-
getTagGroupExtensionProperties
public java.util.Optional<java.util.Collection<Property<?>>> getTagGroupExtensionProperties()
-
getTagExtensionProperties
public java.util.Optional<java.util.Collection<Property<?>>> getTagExtensionProperties()
-
-