activitytracking

package
v0.0.0-...-7c8058c Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// standard service identifiers
	SERVICE_NUMBER mal.UShort = 3
	SERVICE_NAME              = mal.Identifier("ActivityTracking")
)
View Source
const ACTIVITYACCEPTANCE_LIST_SHORT_FORM mal.Long = 0x2000301fffffe
View Source
const ACTIVITYACCEPTANCE_LIST_TYPE_SHORT_FORM mal.Integer = -2
View Source
const ACTIVITYACCEPTANCE_SHORT_FORM mal.Long = 0x2000301000002
View Source
const ACTIVITYACCEPTANCE_TYPE_SHORT_FORM mal.Integer = 2
View Source
const ACTIVITYEXECUTION_LIST_SHORT_FORM mal.Long = 0x2000301fffffd
View Source
const ACTIVITYEXECUTION_LIST_TYPE_SHORT_FORM mal.Integer = -3
View Source
const ACTIVITYEXECUTION_SHORT_FORM mal.Long = 0x2000301000003
View Source
const ACTIVITYEXECUTION_TYPE_SHORT_FORM mal.Integer = 3
View Source
const ACTIVITYTRANSFER_LIST_SHORT_FORM mal.Long = 0x2000301ffffff
View Source
const ACTIVITYTRANSFER_LIST_TYPE_SHORT_FORM mal.Integer = -1
View Source
const ACTIVITYTRANSFER_SHORT_FORM mal.Long = 0x2000301000001
View Source
const ACTIVITYTRANSFER_TYPE_SHORT_FORM mal.Integer = 1
View Source
const OPERATIONACTIVITY_LIST_SHORT_FORM mal.Long = 0x2000301fffffc
View Source
const OPERATIONACTIVITY_LIST_TYPE_SHORT_FORM mal.Integer = -4
View Source
const OPERATIONACTIVITY_SHORT_FORM mal.Long = 0x2000301000004
View Source
const OPERATIONACTIVITY_TYPE_SHORT_FORM mal.Integer = 4

Variables

Functions

func Init

func Init(cctxin *malapi.ClientContext) error

Types

type ActivityAcceptance

type ActivityAcceptance struct {
	Success mal.Boolean
}
var (
	NullActivityAcceptance *ActivityAcceptance = nil
)

func NewActivityAcceptance

func NewActivityAcceptance() *ActivityAcceptance

func (*ActivityAcceptance) Composite

func (receiver *ActivityAcceptance) Composite() mal.Composite

func (*ActivityAcceptance) CreateElement

func (receiver *ActivityAcceptance) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ActivityAcceptance) Decode

func (receiver *ActivityAcceptance) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ActivityAcceptance) Encode

func (receiver *ActivityAcceptance) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ActivityAcceptance) GetAreaNumber

func (receiver *ActivityAcceptance) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ActivityAcceptance) GetAreaVersion

func (receiver *ActivityAcceptance) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ActivityAcceptance) GetServiceNumber

func (receiver *ActivityAcceptance) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ActivityAcceptance) GetShortForm

func (receiver *ActivityAcceptance) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ActivityAcceptance) GetTypeShortForm

func (receiver *ActivityAcceptance) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ActivityAcceptance) IsNull

func (receiver *ActivityAcceptance) IsNull() bool

func (*ActivityAcceptance) Null

func (receiver *ActivityAcceptance) Null() mal.Element

type ActivityAcceptanceList

type ActivityAcceptanceList []*ActivityAcceptance
var NullActivityAcceptanceList *ActivityAcceptanceList = nil

func NewActivityAcceptanceList

func NewActivityAcceptanceList(size int) *ActivityAcceptanceList

func (*ActivityAcceptanceList) AppendElement

func (receiver *ActivityAcceptanceList) AppendElement(element mal.Element)

func (*ActivityAcceptanceList) Composite

func (receiver *ActivityAcceptanceList) Composite() mal.Composite

func (*ActivityAcceptanceList) CreateElement

func (receiver *ActivityAcceptanceList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ActivityAcceptanceList) Decode

func (receiver *ActivityAcceptanceList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ActivityAcceptanceList) Encode

func (receiver *ActivityAcceptanceList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ActivityAcceptanceList) GetAreaNumber

func (receiver *ActivityAcceptanceList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ActivityAcceptanceList) GetAreaVersion

func (receiver *ActivityAcceptanceList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ActivityAcceptanceList) GetElementAt

func (receiver *ActivityAcceptanceList) GetElementAt(i int) mal.Element

func (*ActivityAcceptanceList) GetServiceNumber

func (receiver *ActivityAcceptanceList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ActivityAcceptanceList) GetShortForm

func (receiver *ActivityAcceptanceList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ActivityAcceptanceList) GetTypeShortForm

func (receiver *ActivityAcceptanceList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ActivityAcceptanceList) IsNull

func (receiver *ActivityAcceptanceList) IsNull() bool

func (*ActivityAcceptanceList) Null

func (receiver *ActivityAcceptanceList) Null() mal.Element

func (*ActivityAcceptanceList) Size

func (receiver *ActivityAcceptanceList) Size() int

type ActivityExecution

type ActivityExecution struct {
	Success        mal.Boolean
	ExecutionStage mal.UInteger
	StageCount     mal.UInteger
}
var (
	NullActivityExecution *ActivityExecution = nil
)

func NewActivityExecution

func NewActivityExecution() *ActivityExecution

func (*ActivityExecution) Composite

func (receiver *ActivityExecution) Composite() mal.Composite

func (*ActivityExecution) CreateElement

func (receiver *ActivityExecution) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ActivityExecution) Decode

func (receiver *ActivityExecution) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ActivityExecution) Encode

func (receiver *ActivityExecution) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ActivityExecution) GetAreaNumber

func (receiver *ActivityExecution) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ActivityExecution) GetAreaVersion

func (receiver *ActivityExecution) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ActivityExecution) GetServiceNumber

func (receiver *ActivityExecution) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ActivityExecution) GetShortForm

func (receiver *ActivityExecution) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ActivityExecution) GetTypeShortForm

func (receiver *ActivityExecution) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ActivityExecution) IsNull

func (receiver *ActivityExecution) IsNull() bool

func (*ActivityExecution) Null

func (receiver *ActivityExecution) Null() mal.Element

type ActivityExecutionList

type ActivityExecutionList []*ActivityExecution
var NullActivityExecutionList *ActivityExecutionList = nil

func NewActivityExecutionList

func NewActivityExecutionList(size int) *ActivityExecutionList

func (*ActivityExecutionList) AppendElement

func (receiver *ActivityExecutionList) AppendElement(element mal.Element)

func (*ActivityExecutionList) Composite

func (receiver *ActivityExecutionList) Composite() mal.Composite

func (*ActivityExecutionList) CreateElement

func (receiver *ActivityExecutionList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ActivityExecutionList) Decode

func (receiver *ActivityExecutionList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ActivityExecutionList) Encode

func (receiver *ActivityExecutionList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ActivityExecutionList) GetAreaNumber

func (receiver *ActivityExecutionList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ActivityExecutionList) GetAreaVersion

func (receiver *ActivityExecutionList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ActivityExecutionList) GetElementAt

func (receiver *ActivityExecutionList) GetElementAt(i int) mal.Element

func (*ActivityExecutionList) GetServiceNumber

func (receiver *ActivityExecutionList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ActivityExecutionList) GetShortForm

func (receiver *ActivityExecutionList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ActivityExecutionList) GetTypeShortForm

func (receiver *ActivityExecutionList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ActivityExecutionList) IsNull

func (receiver *ActivityExecutionList) IsNull() bool

func (*ActivityExecutionList) Null

func (receiver *ActivityExecutionList) Null() mal.Element

func (*ActivityExecutionList) Size

func (receiver *ActivityExecutionList) Size() int

type ActivityTransfer

type ActivityTransfer struct {
	Success          mal.Boolean
	EstimateDuration *mal.Duration
	NextDestination  *mal.URI
}
var (
	NullActivityTransfer *ActivityTransfer = nil
)

func NewActivityTransfer

func NewActivityTransfer() *ActivityTransfer

func (*ActivityTransfer) Composite

func (receiver *ActivityTransfer) Composite() mal.Composite

func (*ActivityTransfer) CreateElement

func (receiver *ActivityTransfer) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ActivityTransfer) Decode

func (receiver *ActivityTransfer) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ActivityTransfer) Encode

func (receiver *ActivityTransfer) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ActivityTransfer) GetAreaNumber

func (receiver *ActivityTransfer) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ActivityTransfer) GetAreaVersion

func (receiver *ActivityTransfer) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ActivityTransfer) GetServiceNumber

func (receiver *ActivityTransfer) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ActivityTransfer) GetShortForm

func (receiver *ActivityTransfer) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ActivityTransfer) GetTypeShortForm

func (receiver *ActivityTransfer) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ActivityTransfer) IsNull

func (receiver *ActivityTransfer) IsNull() bool

func (*ActivityTransfer) Null

func (receiver *ActivityTransfer) Null() mal.Element

type ActivityTransferList

type ActivityTransferList []*ActivityTransfer
var NullActivityTransferList *ActivityTransferList = nil

func NewActivityTransferList

func NewActivityTransferList(size int) *ActivityTransferList

func (*ActivityTransferList) AppendElement

func (receiver *ActivityTransferList) AppendElement(element mal.Element)

func (*ActivityTransferList) Composite

func (receiver *ActivityTransferList) Composite() mal.Composite

func (*ActivityTransferList) CreateElement

func (receiver *ActivityTransferList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ActivityTransferList) Decode

func (receiver *ActivityTransferList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ActivityTransferList) Encode

func (receiver *ActivityTransferList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ActivityTransferList) GetAreaNumber

func (receiver *ActivityTransferList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ActivityTransferList) GetAreaVersion

func (receiver *ActivityTransferList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ActivityTransferList) GetElementAt

func (receiver *ActivityTransferList) GetElementAt(i int) mal.Element

func (*ActivityTransferList) GetServiceNumber

func (receiver *ActivityTransferList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ActivityTransferList) GetShortForm

func (receiver *ActivityTransferList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ActivityTransferList) GetTypeShortForm

func (receiver *ActivityTransferList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ActivityTransferList) IsNull

func (receiver *ActivityTransferList) IsNull() bool

func (*ActivityTransferList) Null

func (receiver *ActivityTransferList) Null() mal.Element

func (*ActivityTransferList) Size

func (receiver *ActivityTransferList) Size() int

type OperationActivity

type OperationActivity struct {
	InteractionType mal.InteractionType
}
var (
	NullOperationActivity *OperationActivity = nil
)

func NewOperationActivity

func NewOperationActivity() *OperationActivity

func (*OperationActivity) Composite

func (receiver *OperationActivity) Composite() mal.Composite

func (*OperationActivity) CreateElement

func (receiver *OperationActivity) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*OperationActivity) Decode

func (receiver *OperationActivity) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*OperationActivity) Encode

func (receiver *OperationActivity) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*OperationActivity) GetAreaNumber

func (receiver *OperationActivity) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*OperationActivity) GetAreaVersion

func (receiver *OperationActivity) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*OperationActivity) GetServiceNumber

func (receiver *OperationActivity) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*OperationActivity) GetShortForm

func (receiver *OperationActivity) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*OperationActivity) GetTypeShortForm

func (receiver *OperationActivity) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*OperationActivity) IsNull

func (receiver *OperationActivity) IsNull() bool

func (*OperationActivity) Null

func (receiver *OperationActivity) Null() mal.Element

type OperationActivityList

type OperationActivityList []*OperationActivity
var NullOperationActivityList *OperationActivityList = nil

func NewOperationActivityList

func NewOperationActivityList(size int) *OperationActivityList

func (*OperationActivityList) AppendElement

func (receiver *OperationActivityList) AppendElement(element mal.Element)

func (*OperationActivityList) Composite

func (receiver *OperationActivityList) Composite() mal.Composite

func (*OperationActivityList) CreateElement

func (receiver *OperationActivityList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*OperationActivityList) Decode

func (receiver *OperationActivityList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*OperationActivityList) Encode

func (receiver *OperationActivityList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*OperationActivityList) GetAreaNumber

func (receiver *OperationActivityList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*OperationActivityList) GetAreaVersion

func (receiver *OperationActivityList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*OperationActivityList) GetElementAt

func (receiver *OperationActivityList) GetElementAt(i int) mal.Element

func (*OperationActivityList) GetServiceNumber

func (receiver *OperationActivityList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*OperationActivityList) GetShortForm

func (receiver *OperationActivityList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*OperationActivityList) GetTypeShortForm

func (receiver *OperationActivityList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*OperationActivityList) IsNull

func (receiver *OperationActivityList) IsNull() bool

func (*OperationActivityList) Null

func (receiver *OperationActivityList) Null() mal.Element

func (*OperationActivityList) Size

func (receiver *OperationActivityList) Size() int

type Provider

type Provider struct {
	Cctx *malapi.ClientContext
	// contains filtered or unexported fields
}

service provider structure

func NewProvider

func NewProvider(ctx *mal.Context, uri string, providerImpl ProviderInterface) (*Provider, error)

create a service provider

func (*Provider) Close

func (receiver *Provider) Close() error

type ProviderInterface

type ProviderInterface interface {
}

service provider internal interface

Jump to

Keyboard shortcuts

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