server

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumNamesEnumServerState = map[EnumServerState]string{
	EnumServerStateRUNNING:            "RUNNING",
	EnumServerStateFAILED:             "FAILED",
	EnumServerStateNOCONFIGURATION:    "NOCONFIGURATION",
	EnumServerStateSUSPENDED:          "SUSPENDED",
	EnumServerStateSHUTDOWN:           "SHUTDOWN",
	EnumServerStateTEST:               "TEST",
	EnumServerStateCOMMUNICATIONFAULT: "COMMUNICATIONFAULT",
	EnumServerStateUNKNOWN:            "UNKNOWN",
	EnumServerStateMAX_ENUM_VALUE:     "MAX_ENUM_VALUE",
}
View Source
var EnumValuesEnumServerState = map[string]EnumServerState{
	"RUNNING":            EnumServerStateRUNNING,
	"FAILED":             EnumServerStateFAILED,
	"NOCONFIGURATION":    EnumServerStateNOCONFIGURATION,
	"SUSPENDED":          EnumServerStateSUSPENDED,
	"SHUTDOWN":           EnumServerStateSHUTDOWN,
	"TEST":               EnumServerStateTEST,
	"COMMUNICATIONFAULT": EnumServerStateCOMMUNICATIONFAULT,
	"UNKNOWN":            EnumServerStateUNKNOWN,
	"MAX_ENUM_VALUE":     EnumServerStateMAX_ENUM_VALUE,
}

Functions

func ArrayOfSecConfigTypeAddSecConfigArray

func ArrayOfSecConfigTypeAddSecConfigArray(builder *flatbuffers.Builder, secConfigArray flatbuffers.UOffsetT)

func ArrayOfSecConfigTypeEnd

func ArrayOfSecConfigTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ArrayOfSecConfigTypeStart

func ArrayOfSecConfigTypeStart(builder *flatbuffers.Builder)

/ The endpoint security configurations of the OPC UA Server in an array / Each array element describes one security configuration of OPC UA Server endpoint

func ArrayOfSecConfigTypeStartSecConfigArrayVector

func ArrayOfSecConfigTypeStartSecConfigArrayVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ArrayOfUserTokenTypeAddUserTokenArray

func ArrayOfUserTokenTypeAddUserTokenArray(builder *flatbuffers.Builder, userTokenArray flatbuffers.UOffsetT)

func ArrayOfUserTokenTypeEnd

func ArrayOfUserTokenTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ArrayOfUserTokenTypeStart

func ArrayOfUserTokenTypeStart(builder *flatbuffers.Builder)

/ The user token configuration of the OPC UA Server in an array

func ArrayOfUserTokenTypeStartUserTokenArrayVector

func ArrayOfUserTokenTypeStartUserTokenArrayVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func BuildInfoTypeAddBuildDate

func BuildInfoTypeAddBuildDate(builder *flatbuffers.Builder, buildDate uint64)

func BuildInfoTypeAddBuildNumber

func BuildInfoTypeAddBuildNumber(builder *flatbuffers.Builder, buildNumber flatbuffers.UOffsetT)

func BuildInfoTypeAddManufacturerName

func BuildInfoTypeAddManufacturerName(builder *flatbuffers.Builder, manufacturerName flatbuffers.UOffsetT)

func BuildInfoTypeAddProductName

func BuildInfoTypeAddProductName(builder *flatbuffers.Builder, productName flatbuffers.UOffsetT)

func BuildInfoTypeAddProductUri

func BuildInfoTypeAddProductUri(builder *flatbuffers.Builder, productUri flatbuffers.UOffsetT)

func BuildInfoTypeAddSoftwareVersion

func BuildInfoTypeAddSoftwareVersion(builder *flatbuffers.Builder, softwareVersion flatbuffers.UOffsetT)

func BuildInfoTypeEnd

func BuildInfoTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func BuildInfoTypeStart

func BuildInfoTypeStart(builder *flatbuffers.Builder)

/ The software version of the OPC UA Server

func SecConfigTypeAddModeNone

func SecConfigTypeAddModeNone(builder *flatbuffers.Builder, modeNone bool)

func SecConfigTypeAddModeSign

func SecConfigTypeAddModeSign(builder *flatbuffers.Builder, modeSign bool)

func SecConfigTypeAddModeSignAndEncrypt

func SecConfigTypeAddModeSignAndEncrypt(builder *flatbuffers.Builder, modeSignAndEncrypt bool)

func SecConfigTypeAddPolicyId

func SecConfigTypeAddPolicyId(builder *flatbuffers.Builder, policyId uint32)

func SecConfigTypeEnd

func SecConfigTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SecConfigTypeStart

func SecConfigTypeStart(builder *flatbuffers.Builder)

func ServerDiagnosticsSummaryTypeAddCumulatedSessionCount

func ServerDiagnosticsSummaryTypeAddCumulatedSessionCount(builder *flatbuffers.Builder, cumulatedSessionCount uint32)

func ServerDiagnosticsSummaryTypeAddCumulatedSubscriptionCount

func ServerDiagnosticsSummaryTypeAddCumulatedSubscriptionCount(builder *flatbuffers.Builder, cumulatedSubscriptionCount uint32)

func ServerDiagnosticsSummaryTypeAddCurrentSessonCount

func ServerDiagnosticsSummaryTypeAddCurrentSessonCount(builder *flatbuffers.Builder, currentSessonCount uint32)

func ServerDiagnosticsSummaryTypeAddCurrentSubscriptionCount

func ServerDiagnosticsSummaryTypeAddCurrentSubscriptionCount(builder *flatbuffers.Builder, currentSubscriptionCount uint32)

func ServerDiagnosticsSummaryTypeAddPublishingIntervalCount

func ServerDiagnosticsSummaryTypeAddPublishingIntervalCount(builder *flatbuffers.Builder, publishingIntervalCount uint32)

func ServerDiagnosticsSummaryTypeAddRejectedRequestsCount

func ServerDiagnosticsSummaryTypeAddRejectedRequestsCount(builder *flatbuffers.Builder, rejectedRequestsCount uint32)

func ServerDiagnosticsSummaryTypeAddRejectedSessionCount

func ServerDiagnosticsSummaryTypeAddRejectedSessionCount(builder *flatbuffers.Builder, rejectedSessionCount uint32)

func ServerDiagnosticsSummaryTypeAddSecurityRejectedRequestsCount

func ServerDiagnosticsSummaryTypeAddSecurityRejectedRequestsCount(builder *flatbuffers.Builder, securityRejectedRequestsCount uint32)

func ServerDiagnosticsSummaryTypeAddSecurityRejectedSessionCount

func ServerDiagnosticsSummaryTypeAddSecurityRejectedSessionCount(builder *flatbuffers.Builder, securityRejectedSessionCount uint32)

func ServerDiagnosticsSummaryTypeAddServerViewCount

func ServerDiagnosticsSummaryTypeAddServerViewCount(builder *flatbuffers.Builder, serverViewCount uint32)

func ServerDiagnosticsSummaryTypeAddSessionAbortCount

func ServerDiagnosticsSummaryTypeAddSessionAbortCount(builder *flatbuffers.Builder, sessionAbortCount uint32)

func ServerDiagnosticsSummaryTypeAddSessionTimeoutCount

func ServerDiagnosticsSummaryTypeAddSessionTimeoutCount(builder *flatbuffers.Builder, sessionTimeoutCount uint32)

func ServerDiagnosticsSummaryTypeEnd

func ServerDiagnosticsSummaryTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ServerDiagnosticsSummaryTypeStart

func ServerDiagnosticsSummaryTypeStart(builder *flatbuffers.Builder)

func ServerStateTypeAddState

func ServerStateTypeAddState(builder *flatbuffers.Builder, state EnumServerState)

func ServerStateTypeEnd

func ServerStateTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ServerStateTypeStart

func ServerStateTypeStart(builder *flatbuffers.Builder)

func ServerStatusTypeAddBuildInfo

func ServerStatusTypeAddBuildInfo(builder *flatbuffers.Builder, buildInfo flatbuffers.UOffsetT)

func ServerStatusTypeAddCurrentTime

func ServerStatusTypeAddCurrentTime(builder *flatbuffers.Builder, currentTime uint32)

func ServerStatusTypeAddSecondsTillShutdown

func ServerStatusTypeAddSecondsTillShutdown(builder *flatbuffers.Builder, secondsTillShutdown uint32)

func ServerStatusTypeAddShutdownReason

func ServerStatusTypeAddShutdownReason(builder *flatbuffers.Builder, shutdownReason flatbuffers.UOffsetT)

func ServerStatusTypeAddStartTime

func ServerStatusTypeAddStartTime(builder *flatbuffers.Builder, startTime uint32)

func ServerStatusTypeAddState

func ServerStatusTypeAddState(builder *flatbuffers.Builder, state EnumServerState)

func ServerStatusTypeEnd

func ServerStatusTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ServerStatusTypeStart

func ServerStatusTypeStart(builder *flatbuffers.Builder)

func UserTokenTypeAddPolicyId

func UserTokenTypeAddPolicyId(builder *flatbuffers.Builder, policyId uint32)

func UserTokenTypeAddType

func UserTokenTypeAddType(builder *flatbuffers.Builder, type_ uint32)

func UserTokenTypeEnd

func UserTokenTypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func UserTokenTypeStart

func UserTokenTypeStart(builder *flatbuffers.Builder)

Types

type ArrayOfSecConfigType

type ArrayOfSecConfigType struct {
	// contains filtered or unexported fields
}

func GetRootAsArrayOfSecConfigType

func GetRootAsArrayOfSecConfigType(buf []byte, offset flatbuffers.UOffsetT) *ArrayOfSecConfigType

func GetSizePrefixedRootAsArrayOfSecConfigType

func GetSizePrefixedRootAsArrayOfSecConfigType(buf []byte, offset flatbuffers.UOffsetT) *ArrayOfSecConfigType

func (*ArrayOfSecConfigType) Init

func (rcv *ArrayOfSecConfigType) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ArrayOfSecConfigType) SecConfigArray

func (rcv *ArrayOfSecConfigType) SecConfigArray(obj *SecConfigType, j int) bool

/ The endpoint security configurations of the OPC UA Server in an array / Each array element describes one security configuration of OPC UA Server endpoint

func (*ArrayOfSecConfigType) SecConfigArrayLength

func (rcv *ArrayOfSecConfigType) SecConfigArrayLength() int

func (*ArrayOfSecConfigType) Table

func (rcv *ArrayOfSecConfigType) Table() flatbuffers.Table

func (*ArrayOfSecConfigType) UnPack

func (*ArrayOfSecConfigType) UnPackTo

func (rcv *ArrayOfSecConfigType) UnPackTo(t *ArrayOfSecConfigTypeT)

type ArrayOfSecConfigTypeT

type ArrayOfSecConfigTypeT struct {
	SecConfigArray []*SecConfigTypeT `json:"secConfigArray"`
}

func (*ArrayOfSecConfigTypeT) Pack

type ArrayOfUserTokenType

type ArrayOfUserTokenType struct {
	// contains filtered or unexported fields
}

func GetRootAsArrayOfUserTokenType

func GetRootAsArrayOfUserTokenType(buf []byte, offset flatbuffers.UOffsetT) *ArrayOfUserTokenType

func GetSizePrefixedRootAsArrayOfUserTokenType

func GetSizePrefixedRootAsArrayOfUserTokenType(buf []byte, offset flatbuffers.UOffsetT) *ArrayOfUserTokenType

func (*ArrayOfUserTokenType) Init

func (rcv *ArrayOfUserTokenType) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ArrayOfUserTokenType) Table

func (rcv *ArrayOfUserTokenType) Table() flatbuffers.Table

func (*ArrayOfUserTokenType) UnPack

func (*ArrayOfUserTokenType) UnPackTo

func (rcv *ArrayOfUserTokenType) UnPackTo(t *ArrayOfUserTokenTypeT)

func (*ArrayOfUserTokenType) UserTokenArray

func (rcv *ArrayOfUserTokenType) UserTokenArray(obj *UserTokenType, j int) bool

/ The user token configuration of the OPC UA Server in an array

func (*ArrayOfUserTokenType) UserTokenArrayLength

func (rcv *ArrayOfUserTokenType) UserTokenArrayLength() int

type ArrayOfUserTokenTypeT

type ArrayOfUserTokenTypeT struct {
	UserTokenArray []*UserTokenTypeT `json:"userTokenArray"`
}

func (*ArrayOfUserTokenTypeT) Pack

type BuildInfoType

type BuildInfoType struct {
	// contains filtered or unexported fields
}

func GetRootAsBuildInfoType

func GetRootAsBuildInfoType(buf []byte, offset flatbuffers.UOffsetT) *BuildInfoType

func GetSizePrefixedRootAsBuildInfoType

func GetSizePrefixedRootAsBuildInfoType(buf []byte, offset flatbuffers.UOffsetT) *BuildInfoType

func (*BuildInfoType) BuildDate

func (rcv *BuildInfoType) BuildDate() uint64

/ The build date of the OPC UA Server

func (*BuildInfoType) BuildNumber

func (rcv *BuildInfoType) BuildNumber() []byte

/ The build number of the OPC UA Server

func (*BuildInfoType) Init

func (rcv *BuildInfoType) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BuildInfoType) ManufacturerName

func (rcv *BuildInfoType) ManufacturerName() []byte

/ The build number of the OPC UA Server / The manufacturer name of the OPC UA Server

func (*BuildInfoType) MutateBuildDate

func (rcv *BuildInfoType) MutateBuildDate(n uint64) bool

/ The build date of the OPC UA Server

func (*BuildInfoType) ProductName

func (rcv *BuildInfoType) ProductName() []byte

/ The manufacturer name of the OPC UA Server / The product name of the OPC UA Server

func (*BuildInfoType) ProductUri

func (rcv *BuildInfoType) ProductUri() []byte

/ The product name of the OPC UA Server / The product uri of the OPC UA Server

func (*BuildInfoType) SoftwareVersion

func (rcv *BuildInfoType) SoftwareVersion() []byte

/ The product uri of the OPC UA Server / The software version of the OPC UA Server

func (*BuildInfoType) Table

func (rcv *BuildInfoType) Table() flatbuffers.Table

func (*BuildInfoType) UnPack

func (rcv *BuildInfoType) UnPack() *BuildInfoTypeT

func (*BuildInfoType) UnPackTo

func (rcv *BuildInfoType) UnPackTo(t *BuildInfoTypeT)

type BuildInfoTypeT

type BuildInfoTypeT struct {
	BuildDate        uint64 `json:"buildDate"`
	BuildNumber      string `json:"buildNumber"`
	ManufacturerName string `json:"manufacturerName"`
	ProductName      string `json:"productName"`
	ProductUri       string `json:"productUri"`
	SoftwareVersion  string `json:"softwareVersion"`
}

func (*BuildInfoTypeT) Pack

type EnumServerState

type EnumServerState int32
const (
	/// The OPC UA Server is running normally
	/// This is the usual state for the OPC UA Server
	EnumServerStateRUNNING EnumServerState = 0
	/// A vendor-specific fatal error has occurred within the OPC UA Server
	/// The OPC UA Server is not working. Please have a look in the logbook for errors.
	EnumServerStateFAILED EnumServerState = 1
	/// The OPC UA Server is running but has no configuration information loaded and therefore does not transfer data
	EnumServerStateNOCONFIGURATION EnumServerState = 2
	/// The OPC UA Server has been temporarily suspended by some vendor-specific method and is not receiving or sending data
	EnumServerStateSUSPENDED EnumServerState = 3
	/// The OPC UA Server initiated a shut down or is in the process of shutting down
	EnumServerStateSHUTDOWN EnumServerState = 4
	/// The OPC UA Server is in Test Mode
	/// The outputs are disconnected from the real hardware, but the OPC UA Server will otherwise behave normally
	EnumServerStateTEST EnumServerState = 5
	/// The OPC UA Server is running properly, but is having difficulty accessing data from its data sources
	EnumServerStateCOMMUNICATIONFAULT EnumServerState = 6
	/// This state is used only to indicate that the OPC UA Server does not know the state of underlying system
	EnumServerStateUNKNOWN        EnumServerState = 7
	EnumServerStateMAX_ENUM_VALUE EnumServerState = 2147483647
)

func (EnumServerState) String

func (v EnumServerState) String() string

type SecConfigType

type SecConfigType struct {
	// contains filtered or unexported fields
}

func GetRootAsSecConfigType

func GetRootAsSecConfigType(buf []byte, offset flatbuffers.UOffsetT) *SecConfigType

func GetSizePrefixedRootAsSecConfigType

func GetSizePrefixedRootAsSecConfigType(buf []byte, offset flatbuffers.UOffsetT) *SecConfigType

func (*SecConfigType) Init

func (rcv *SecConfigType) Init(buf []byte, i flatbuffers.UOffsetT)

func (*SecConfigType) ModeNone

func (rcv *SecConfigType) ModeNone() bool

/ True if message security mode none is allowed

func (*SecConfigType) ModeSign

func (rcv *SecConfigType) ModeSign() bool

/ True if message security mode sign is allowed

func (*SecConfigType) ModeSignAndEncrypt

func (rcv *SecConfigType) ModeSignAndEncrypt() bool

/ True if message security mode sign and encrypt is allowed

func (*SecConfigType) MutateModeNone

func (rcv *SecConfigType) MutateModeNone(n bool) bool

/ True if message security mode none is allowed

func (*SecConfigType) MutateModeSign

func (rcv *SecConfigType) MutateModeSign(n bool) bool

/ True if message security mode sign is allowed

func (*SecConfigType) MutateModeSignAndEncrypt

func (rcv *SecConfigType) MutateModeSignAndEncrypt(n bool) bool

/ True if message security mode sign and encrypt is allowed

func (*SecConfigType) MutatePolicyId

func (rcv *SecConfigType) MutatePolicyId(n uint32) bool

/ Identifier of the policy to use / UA_SECURITY_POLICY_NONE = 0, / UA_SECURITY_POLICY_BASIC128RSA15 = 1, / UA_SECURITY_POLICY_BASIC256 = 2, / UA_SECURITY_POLICY_BASIC256SHA256 = 3, / UA_SECURITY_POLICY_AES128_SHA256_RSAOAEP = 4, / UA_SECURITY_POLICY_AES256_SHA256_RSAPSS = 5, / UA_SECURITY_POLICY_ID_MAX = 6

func (*SecConfigType) PolicyId

func (rcv *SecConfigType) PolicyId() uint32

/ Identifier of the policy to use / UA_SECURITY_POLICY_NONE = 0, / UA_SECURITY_POLICY_BASIC128RSA15 = 1, / UA_SECURITY_POLICY_BASIC256 = 2, / UA_SECURITY_POLICY_BASIC256SHA256 = 3, / UA_SECURITY_POLICY_AES128_SHA256_RSAOAEP = 4, / UA_SECURITY_POLICY_AES256_SHA256_RSAPSS = 5, / UA_SECURITY_POLICY_ID_MAX = 6

func (*SecConfigType) Table

func (rcv *SecConfigType) Table() flatbuffers.Table

func (*SecConfigType) UnPack

func (rcv *SecConfigType) UnPack() *SecConfigTypeT

func (*SecConfigType) UnPackTo

func (rcv *SecConfigType) UnPackTo(t *SecConfigTypeT)

type SecConfigTypeT

type SecConfigTypeT struct {
	PolicyId           uint32 `json:"policyId"`
	ModeNone           bool   `json:"modeNone"`
	ModeSign           bool   `json:"modeSign"`
	ModeSignAndEncrypt bool   `json:"modeSignAndEncrypt"`
}

func (*SecConfigTypeT) Pack

type ServerDiagnosticsSummaryType

type ServerDiagnosticsSummaryType struct {
	// contains filtered or unexported fields
}

func GetRootAsServerDiagnosticsSummaryType

func GetRootAsServerDiagnosticsSummaryType(buf []byte, offset flatbuffers.UOffsetT) *ServerDiagnosticsSummaryType

func GetSizePrefixedRootAsServerDiagnosticsSummaryType

func GetSizePrefixedRootAsServerDiagnosticsSummaryType(buf []byte, offset flatbuffers.UOffsetT) *ServerDiagnosticsSummaryType

func (*ServerDiagnosticsSummaryType) CumulatedSessionCount

func (rcv *ServerDiagnosticsSummaryType) CumulatedSessionCount() uint32

/ The sum of the created sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) CumulatedSubscriptionCount

func (rcv *ServerDiagnosticsSummaryType) CumulatedSubscriptionCount() uint32

/ The sum of the created subscriptions during all sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) CurrentSessonCount

func (rcv *ServerDiagnosticsSummaryType) CurrentSessonCount() uint32

/ The current number of active sessions of the OPC UA Server

func (*ServerDiagnosticsSummaryType) CurrentSubscriptionCount

func (rcv *ServerDiagnosticsSummaryType) CurrentSubscriptionCount() uint32

/ The current number of active subscriptions of the OPC UA Server

func (*ServerDiagnosticsSummaryType) Init

func (*ServerDiagnosticsSummaryType) MutateCumulatedSessionCount

func (rcv *ServerDiagnosticsSummaryType) MutateCumulatedSessionCount(n uint32) bool

/ The sum of the created sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) MutateCumulatedSubscriptionCount

func (rcv *ServerDiagnosticsSummaryType) MutateCumulatedSubscriptionCount(n uint32) bool

/ The sum of the created subscriptions during all sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) MutateCurrentSessonCount

func (rcv *ServerDiagnosticsSummaryType) MutateCurrentSessonCount(n uint32) bool

/ The current number of active sessions of the OPC UA Server

func (*ServerDiagnosticsSummaryType) MutateCurrentSubscriptionCount

func (rcv *ServerDiagnosticsSummaryType) MutateCurrentSubscriptionCount(n uint32) bool

/ The current number of active subscriptions of the OPC UA Server

func (*ServerDiagnosticsSummaryType) MutatePublishingIntervalCount

func (rcv *ServerDiagnosticsSummaryType) MutatePublishingIntervalCount(n uint32) bool

/ The number of the supported publishing intervals of the OPC UA Server

func (*ServerDiagnosticsSummaryType) MutateRejectedRequestsCount

func (rcv *ServerDiagnosticsSummaryType) MutateRejectedRequestsCount(n uint32) bool

/ The number of the discarded queries of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) MutateRejectedSessionCount

func (rcv *ServerDiagnosticsSummaryType) MutateRejectedSessionCount(n uint32) bool

/ The number of the discarded sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) MutateSecurityRejectedRequestsCount

func (rcv *ServerDiagnosticsSummaryType) MutateSecurityRejectedRequestsCount(n uint32) bool

/ The number of discarded service queries of the OPC UA Server since its start / that were rejected due to security criteria that were not met

func (*ServerDiagnosticsSummaryType) MutateSecurityRejectedSessionCount

func (rcv *ServerDiagnosticsSummaryType) MutateSecurityRejectedSessionCount(n uint32) bool

/ The number of discarded sessions (service queries) of the OPC UA Server since its start / that were rejected due to security criteria that were not met

func (*ServerDiagnosticsSummaryType) MutateServerViewCount

func (rcv *ServerDiagnosticsSummaryType) MutateServerViewCount(n uint32) bool

/ The number of views available in the OPC UA Server

func (*ServerDiagnosticsSummaryType) MutateSessionAbortCount

func (rcv *ServerDiagnosticsSummaryType) MutateSessionAbortCount(n uint32) bool

/ The number of the error-caused ended sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) MutateSessionTimeoutCount

func (rcv *ServerDiagnosticsSummaryType) MutateSessionTimeoutCount(n uint32) bool

/ The number of the timeout-caused ended sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) PublishingIntervalCount

func (rcv *ServerDiagnosticsSummaryType) PublishingIntervalCount() uint32

/ The number of the supported publishing intervals of the OPC UA Server

func (*ServerDiagnosticsSummaryType) RejectedRequestsCount

func (rcv *ServerDiagnosticsSummaryType) RejectedRequestsCount() uint32

/ The number of the discarded queries of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) RejectedSessionCount

func (rcv *ServerDiagnosticsSummaryType) RejectedSessionCount() uint32

/ The number of the discarded sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) SecurityRejectedRequestsCount

func (rcv *ServerDiagnosticsSummaryType) SecurityRejectedRequestsCount() uint32

/ The number of discarded service queries of the OPC UA Server since its start / that were rejected due to security criteria that were not met

func (*ServerDiagnosticsSummaryType) SecurityRejectedSessionCount

func (rcv *ServerDiagnosticsSummaryType) SecurityRejectedSessionCount() uint32

/ The number of discarded sessions (service queries) of the OPC UA Server since its start / that were rejected due to security criteria that were not met

func (*ServerDiagnosticsSummaryType) ServerViewCount

func (rcv *ServerDiagnosticsSummaryType) ServerViewCount() uint32

/ The number of views available in the OPC UA Server

func (*ServerDiagnosticsSummaryType) SessionAbortCount

func (rcv *ServerDiagnosticsSummaryType) SessionAbortCount() uint32

/ The number of the error-caused ended sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) SessionTimeoutCount

func (rcv *ServerDiagnosticsSummaryType) SessionTimeoutCount() uint32

/ The number of the timeout-caused ended sessions of the OPC UA Server since its start

func (*ServerDiagnosticsSummaryType) Table

func (*ServerDiagnosticsSummaryType) UnPack

func (*ServerDiagnosticsSummaryType) UnPackTo

type ServerDiagnosticsSummaryTypeT

type ServerDiagnosticsSummaryTypeT struct {
	CumulatedSessionCount         uint32 `json:"cumulatedSessionCount"`
	CumulatedSubscriptionCount    uint32 `json:"cumulatedSubscriptionCount"`
	CurrentSessonCount            uint32 `json:"currentSessonCount"`
	CurrentSubscriptionCount      uint32 `json:"currentSubscriptionCount"`
	PublishingIntervalCount       uint32 `json:"publishingIntervalCount"`
	RejectedRequestsCount         uint32 `json:"rejectedRequestsCount"`
	RejectedSessionCount          uint32 `json:"rejectedSessionCount"`
	SecurityRejectedRequestsCount uint32 `json:"securityRejectedRequestsCount"`
	SecurityRejectedSessionCount  uint32 `json:"securityRejectedSessionCount"`
	ServerViewCount               uint32 `json:"serverViewCount"`
	SessionAbortCount             uint32 `json:"sessionAbortCount"`
	SessionTimeoutCount           uint32 `json:"sessionTimeoutCount"`
}

func (*ServerDiagnosticsSummaryTypeT) Pack

type ServerStateType

type ServerStateType struct {
	// contains filtered or unexported fields
}

func GetRootAsServerStateType

func GetRootAsServerStateType(buf []byte, offset flatbuffers.UOffsetT) *ServerStateType

func GetSizePrefixedRootAsServerStateType

func GetSizePrefixedRootAsServerStateType(buf []byte, offset flatbuffers.UOffsetT) *ServerStateType

func (*ServerStateType) Init

func (rcv *ServerStateType) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ServerStateType) MutateState

func (rcv *ServerStateType) MutateState(n EnumServerState) bool

/ Shows the current state of the OPC UA Server

func (*ServerStateType) State

func (rcv *ServerStateType) State() EnumServerState

/ Shows the current state of the OPC UA Server

func (*ServerStateType) Table

func (rcv *ServerStateType) Table() flatbuffers.Table

func (*ServerStateType) UnPack

func (rcv *ServerStateType) UnPack() *ServerStateTypeT

func (*ServerStateType) UnPackTo

func (rcv *ServerStateType) UnPackTo(t *ServerStateTypeT)

type ServerStateTypeT

type ServerStateTypeT struct {
	State EnumServerState `json:"state"`
}

func (*ServerStateTypeT) Pack

type ServerStatusType

type ServerStatusType struct {
	// contains filtered or unexported fields
}

func GetRootAsServerStatusType

func GetRootAsServerStatusType(buf []byte, offset flatbuffers.UOffsetT) *ServerStatusType

func GetSizePrefixedRootAsServerStatusType

func GetSizePrefixedRootAsServerStatusType(buf []byte, offset flatbuffers.UOffsetT) *ServerStatusType

func (*ServerStatusType) BuildInfo

func (rcv *ServerStatusType) BuildInfo(obj *BuildInfoType) *BuildInfoType

/ Build info of the OPC UA Server

func (*ServerStatusType) CurrentTime

func (rcv *ServerStatusType) CurrentTime() uint32

/ Build info of the OPC UA Server / The current time of the OPC UA Server

func (*ServerStatusType) Init

func (rcv *ServerStatusType) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ServerStatusType) MutateCurrentTime

func (rcv *ServerStatusType) MutateCurrentTime(n uint32) bool

/ The current time of the OPC UA Server

func (*ServerStatusType) MutateSecondsTillShutdown

func (rcv *ServerStatusType) MutateSecondsTillShutdown(n uint32) bool

/ The time until server shutdown if an OPC UA Server shutdown was requested / Otherwise, the value is 0

func (*ServerStatusType) MutateStartTime

func (rcv *ServerStatusType) MutateStartTime(n uint32) bool

/ The starting point in time of the OPC UA Server

func (*ServerStatusType) MutateState

func (rcv *ServerStatusType) MutateState(n EnumServerState) bool

/ The current state of the OPC UA Server

func (*ServerStatusType) SecondsTillShutdown

func (rcv *ServerStatusType) SecondsTillShutdown() uint32

/ The time until server shutdown if an OPC UA Server shutdown was requested / Otherwise, the value is 0

func (*ServerStatusType) ShutdownReason

func (rcv *ServerStatusType) ShutdownReason() []byte

/ The reason for the server shutdown if an OPC UA Server shutdown was requested / Otherwise, an empty string is displayed

func (*ServerStatusType) StartTime

func (rcv *ServerStatusType) StartTime() uint32

/ The reason for the server shutdown if an OPC UA Server shutdown was requested / Otherwise, an empty string is displayed / The starting point in time of the OPC UA Server

func (*ServerStatusType) State

func (rcv *ServerStatusType) State() EnumServerState

/ The current state of the OPC UA Server

func (*ServerStatusType) Table

func (rcv *ServerStatusType) Table() flatbuffers.Table

func (*ServerStatusType) UnPack

func (rcv *ServerStatusType) UnPack() *ServerStatusTypeT

func (*ServerStatusType) UnPackTo

func (rcv *ServerStatusType) UnPackTo(t *ServerStatusTypeT)

type ServerStatusTypeT

type ServerStatusTypeT struct {
	BuildInfo           *BuildInfoTypeT `json:"buildInfo"`
	CurrentTime         uint32          `json:"currentTime"`
	SecondsTillShutdown uint32          `json:"secondsTillShutdown"`
	ShutdownReason      string          `json:"shutdownReason"`
	StartTime           uint32          `json:"startTime"`
	State               EnumServerState `json:"state"`
}

func (*ServerStatusTypeT) Pack

type UserTokenType

type UserTokenType struct {
	// contains filtered or unexported fields
}

func GetRootAsUserTokenType

func GetRootAsUserTokenType(buf []byte, offset flatbuffers.UOffsetT) *UserTokenType

func GetSizePrefixedRootAsUserTokenType

func GetSizePrefixedRootAsUserTokenType(buf []byte, offset flatbuffers.UOffsetT) *UserTokenType

func (*UserTokenType) Init

func (rcv *UserTokenType) Init(buf []byte, i flatbuffers.UOffsetT)

func (*UserTokenType) MutatePolicyId

func (rcv *UserTokenType) MutatePolicyId(n uint32) bool

/ Security policies / UA_SECURITY_POLICY_NONE = 0, / UA_SECURITY_POLICY_BASIC128RSA15 = 1, / UA_SECURITY_POLICY_BASIC256 = 2, / UA_SECURITY_POLICY_BASIC256SHA256 = 3, / UA_SECURITY_POLICY_AES128_SHA256_RSAOAEP = 4, / UA_SECURITY_POLICY_AES256_SHA256_RSAPSS = 5, / UA_SECURITY_POLICY_ID_MAX = 6

func (*UserTokenType) MutateType

func (rcv *UserTokenType) MutateType(n uint32) bool

/ User token type / UA_USERTOKENTYPE_ANONYMOUS = 0, / UA_USERTOKENTYPE_USERNAME = 1, / UA_USERTOKENTYPE_CERTIFICATE = 2, / UA_USERTOKENTYPE_ISSUEDTOKEN = 3

func (*UserTokenType) PolicyId

func (rcv *UserTokenType) PolicyId() uint32

/ Security policies / UA_SECURITY_POLICY_NONE = 0, / UA_SECURITY_POLICY_BASIC128RSA15 = 1, / UA_SECURITY_POLICY_BASIC256 = 2, / UA_SECURITY_POLICY_BASIC256SHA256 = 3, / UA_SECURITY_POLICY_AES128_SHA256_RSAOAEP = 4, / UA_SECURITY_POLICY_AES256_SHA256_RSAPSS = 5, / UA_SECURITY_POLICY_ID_MAX = 6

func (*UserTokenType) Table

func (rcv *UserTokenType) Table() flatbuffers.Table

func (*UserTokenType) Type

func (rcv *UserTokenType) Type() uint32

/ User token type / UA_USERTOKENTYPE_ANONYMOUS = 0, / UA_USERTOKENTYPE_USERNAME = 1, / UA_USERTOKENTYPE_CERTIFICATE = 2, / UA_USERTOKENTYPE_ISSUEDTOKEN = 3

func (*UserTokenType) UnPack

func (rcv *UserTokenType) UnPack() *UserTokenTypeT

func (*UserTokenType) UnPackTo

func (rcv *UserTokenType) UnPackTo(t *UserTokenTypeT)

type UserTokenTypeT

type UserTokenTypeT struct {
	Type     uint32 `json:"type"`
	PolicyId uint32 `json:"policyId"`
}

func (*UserTokenTypeT) Pack

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL