Class WSChannelSettings
- java.lang.Object
- 
- simpleorm.dataset.SRecordInstance
- 
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
- 
- com.inductiveautomation.ignition.gateway.gan.WSChannelSettings
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class WSChannelSettings extends PersistentRecord Created by colby.clegg on 2/13/2015. Holds settings applicable to all GAN connections- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstanceSRecordInstance.BrokenOptimisticLockException
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static IntFieldAllowedProxyHopsstatic BooleanFieldAllowIncomingstatic BooleanFieldEnabledstatic LongFieldIdstatic IntFieldIncomingPingMaxMissedstatic IntFieldIncomingPingRateMillisstatic IntFieldIncomingPingTimeoutMillisstatic RecordMeta<WSChannelSettings>METAstatic IntFieldOverload_Wait_Secsstatic IntFieldReceive_Queue_Maxstatic IntFieldReceiveThreadsstatic BooleanFieldRequireSSLstatic BooleanFieldRequireTwoWayAuthstatic EnumField<ConnectionSecurityPolicy>SecurityPolicystatic IntFieldSendThreadsstatic IntFieldWebsocketSessionIdleTimeoutstatic StringFieldWhitelist- 
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordDEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
 
- 
 - 
Constructor SummaryConstructors Constructor Description WSChannelSettings()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAllowedProxyHops()RecordMeta<WSChannelSettings>getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.ConnectionSecurityPolicygetSecurityPolicy()java.util.List<java.lang.String>getWhitelist()Returns a parsed whitelist.booleanisEnabled()booleanisProxyEnabled()booleanrequireSSL()booleanrequireTwoWayAuth()Returns true if two-way authentication is required, meaning that both the client and server must validate each other before SSL handshake is complete.- 
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordgetBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
 - 
Methods 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 Detail- 
METApublic static final RecordMeta<WSChannelSettings> META 
 - 
Idpublic static final LongField Id 
 - 
Enabledpublic static final BooleanField Enabled 
 - 
RequireSSLpublic static final BooleanField RequireSSL 
 - 
RequireTwoWayAuthpublic static final BooleanField RequireTwoWayAuth 
 - 
SendThreadspublic static final IntField SendThreads 
 - 
ReceiveThreadspublic static final IntField ReceiveThreads 
 - 
Receive_Queue_Maxpublic static final IntField Receive_Queue_Max 
 - 
Overload_Wait_Secspublic static final IntField Overload_Wait_Secs 
 - 
AllowIncomingpublic static final BooleanField AllowIncoming 
 - 
SecurityPolicypublic static final EnumField<ConnectionSecurityPolicy> SecurityPolicy 
 - 
Whitelistpublic static final StringField Whitelist 
 - 
AllowedProxyHopspublic static final IntField AllowedProxyHops 
 - 
WebsocketSessionIdleTimeoutpublic static final IntField WebsocketSessionIdleTimeout 
 - 
IncomingPingRateMillispublic static final IntField IncomingPingRateMillis 
 - 
IncomingPingTimeoutMillispublic static final IntField IncomingPingTimeoutMillis 
 - 
IncomingPingMaxMissedpublic static final IntField IncomingPingMaxMissed 
 
- 
 - 
Method Detail- 
getMetapublic RecordMeta<WSChannelSettings> getMeta() Description 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
 
 - 
isEnabledpublic boolean isEnabled() 
 - 
requireSSLpublic boolean requireSSL() 
 - 
requireTwoWayAuthpublic boolean requireTwoWayAuth() Returns true if two-way authentication is required, meaning that both the client and server must validate each other before SSL handshake is complete.
 - 
getSecurityPolicypublic ConnectionSecurityPolicy getSecurityPolicy() 
 - 
getWhitelistpublic java.util.List<java.lang.String> getWhitelist() Returns a parsed whitelist. Elements are parsed by the comma character.- Returns:
- the list of server IDs to accept connections from, not null.
 
 - 
isProxyEnabledpublic boolean isProxyEnabled() 
 - 
getAllowedProxyHopspublic int getAllowedProxyHops() 
 
- 
 
-