Class WSConnectionSettings
java.lang.Object
simpleorm.dataset.SRecordInstance
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
com.inductiveautomation.ignition.gateway.gan.WSConnectionSettings
- All Implemented Interfaces:
- Serializable
Created by colby.clegg on 2/13/2015.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class simpleorm.dataset.SRecordInstanceSRecordInstance.BrokenOptimisticLockException
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringFieldstatic final BooleanFieldstatic final StringFieldstatic final IntFieldstatic final IntFieldstatic final IdentityFieldstatic final RecordMeta<WSConnectionSettings>static final IntFieldstatic final IntFieldstatic final IntFieldstatic final IntFieldstatic final IntFieldstatic final IntFieldstatic final BooleanFieldstatic final IntFieldFields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordDEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanfromPojo(GanSetupItem ganSetup) Updates record settings, using a GanSetupItem for referencegetAllProperties(int index) Returns a Properties object that can be used to completely recreate a WSConnectionSettings record from properties.Returns a Properties object that holds all properties needed to create a Metro Connection.getHost()getId()getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.getName()intgetPort()booleanbooleanisSSL()toPojo()Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordgetBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValuesMethods inherited from class simpleorm.dataset.SRecordInstanceallFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
- 
Field Details- 
META
- 
Id
- 
Host
- 
Port
- 
Enabled
- 
UseSSL
- 
Description
- 
PingRateMillis
- 
PingTimeoutMillis
- 
PingMaxMissed
- 
WSTimeoutMillis
- 
HttpConnectTimeoutMillis
- 
HttpReadTimeoutMillis
- 
SendThreads
- 
ReceiveThreads
 
- 
- 
Constructor Details- 
WSConnectionSettingspublic WSConnectionSettings()
 
- 
- 
Method Details- 
getMetaDescription copied from class:SRecordInstanceThis must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-SRecord getMeta() { return meta; };The actual metavariable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
- getMetain class- PersistentRecord
 
- 
getName
- 
getHost
- 
getPortpublic int getPort()
- 
isEnabledpublic boolean isEnabled()
- 
isSSLpublic boolean isSSL()
- 
getId
- 
getFactoryId
- 
getDescription
- 
getConnectPropertiesReturns a Properties object that holds all properties needed to create a Metro Connection.- Throws:
- Exception
 
- 
getAllPropertiesReturns a Properties object that can be used to completely recreate a WSConnectionSettings record from properties. Use the index to set which gan connection this represents in a file with many gan connections; e.g if the index is 0, then a property might be 'gateway.network.0.Host=localhost'
- 
fromPojoUpdates record settings, using a GanSetupItem for reference
- 
toPojo
 
-