type

ConnStatus

@Serializable { simple=true }
enum class ConnStatus : Enum

ConnStatus enumeration. This is a unified status value that incorporates connStatus, curStatus, writeStatus and hisStatus. We do not model hisStatus pending/syncing.

enum

constructors

fromStr

Return the ConnStatus instance for the specified name.

fields

vals

List of ConnStatus values indexed by ordinal

methods

isDisabled

Is the disabled instance

isLocal

Return if this is not isRemote

isOk

Is the ok instance

isRemote

Is this is a remote status

isUnknown

Is the unknown instance

Slot Details

disabled

const static ConnStatus disabled := ...

down

const static ConnStatus down := ...

fault

const static ConnStatus fault := ...

fromStr

static new fromStr(Str name, Bool checked := true)

Return the ConnStatus instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

isDisabled

Bool isDisabled()

Is the disabled instance

isLocal

Bool isLocal()

Return if this is not isRemote

isOk

Bool isOk()

Is the ok instance

isRemote

Bool isRemote()

Is this is a remote status

isUnknown

Bool isUnknown()

Is the unknown instance

ok

const static ConnStatus ok := ...

remoteDisabled

const static ConnStatus remoteDisabled := ...

remoteDown

const static ConnStatus remoteDown := ...

remoteFault

const static ConnStatus remoteFault := ...

remoteUnknown

const static ConnStatus remoteUnknown := ...

stale

const static ConnStatus stale := ...

unknown

const static ConnStatus unknown := ...

vals

const static ConnStatus[] vals := ...

List of ConnStatus values indexed by ordinal