Class WSChannelSettings
java.lang.Object
simpleorm.dataset.SRecordInstance
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
com.inductiveautomation.ignition.gateway.gan.WSChannelSettings
- All Implemented Interfaces:
Serializable
Created by colby.clegg on 2/13/2015. Holds settings applicable to all GAN connections
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntFieldstatic final BooleanFieldstatic final BooleanFieldstatic final LongFieldstatic final IntFieldstatic final IntFieldstatic final IntFieldstatic final RecordMeta<WSChannelSettings>static final IntFieldstatic final BooleanFieldstatic final IntFieldstatic final BooleanFieldstatic final BooleanFieldstatic final EnumField<ConnectionSecurityPolicy>static final IntFieldstatic final IntFieldstatic final StringFieldFields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.Returns a parsed whitelist.booleanbooleanIf true, this allows CentralManagerImpl on a proxy gateway to intercept and return service enumeration calls bound for a gateway on the other side of a proxy.booleanbooleanbooleanReturns 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.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValuesMethods inherited from class simpleorm.dataset.SRecordInstance
allFields, 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
-
Enabled
-
RequireSSL
-
RequireTwoWayAuth
-
Receive_Queue_Max
-
Overload_Wait_Secs
-
AllowIncoming
-
SecurityPolicy
-
Whitelist
-
AllowedProxyHops
-
WebsocketSessionIdleTimeout
-
TempFilesMaxAgeHours
-
IncomingPingRateMillis
-
IncomingPingTimeoutMillis
-
IncomingPingMaxMissed
-
ProxyInterceptServiceCalls
-
-
Constructor Details
-
WSChannelSettings
public WSChannelSettings()
-
-
Method Details
-
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 classPersistentRecord
-
isEnabled
public boolean isEnabled() -
requireSSL
public boolean requireSSL() -
requireTwoWayAuth
public 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. -
getSecurityPolicy
-
getWhitelist
Returns a parsed whitelist. Elements are parsed by the comma character.- Returns:
- the list of server IDs to accept connections from, not null.
-
isProxyEnabled
public boolean isProxyEnabled() -
getAllowedProxyHops
public int getAllowedProxyHops() -
isProxyCallInterceptEnabled
public boolean isProxyCallInterceptEnabled()If true, this allows CentralManagerImpl on a proxy gateway to intercept and return service enumeration calls bound for a gateway on the other side of a proxy. The local proxy gateway already knows the service enumeration state of the other gateway since the local gateway regularly queries the other gateway anyway.
-