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 IntField
static final BooleanField
static final BooleanField
static final LongField
static final IntField
static final IntField
static final IntField
static final RecordMeta<WSChannelSettings>
static final IntField
static final BooleanField
static final IntField
static final IntField
static final BooleanField
static final BooleanField
static final EnumField<ConnectionSecurityPolicy>
static final IntField
static final IntField
static final IntField
static final StringField
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getMeta()
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.boolean
boolean
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.boolean
boolean
boolean
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.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
Methods 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
-
SendThreads
-
ReceiveThreads
-
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:SRecordInstance
This 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
meta
variable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMeta
in 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.
-