event

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 = 1
	SERVICE_NAME              = mal.Identifier("Event")

	// standard operation identifiers
	MONITOREVENT_OPERATION_NUMBER mal.UShort = 1
)

Variables

Functions

func Init

func Init(cctxin *malapi.ClientContext) error

func MonitorEventDummy

func MonitorEventDummy() error

Types

type MonitorEventPublisherOperation

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

generated code for operation monitorEvent

func NewMonitorEventPublisherOperation

func NewMonitorEventPublisherOperation(providerURI *mal.URI) (*MonitorEventPublisherOperation, error)

func (*MonitorEventPublisherOperation) Deregister

func (receiver *MonitorEventPublisherOperation) Deregister() error

func (*MonitorEventPublisherOperation) Publish

func (receiver *MonitorEventPublisherOperation) Publish(updateHeaders *mal.UpdateHeaderList, eventLinks *com.ObjectDetailsList, eventBody mal.ElementList) error

func (*MonitorEventPublisherOperation) Register

func (receiver *MonitorEventPublisherOperation) Register(entitykeys *mal.EntityKeyList) error

type MonitorEventSubscriberOperation

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

generated code for operation monitorEvent

func NewMonitorEventSubscriberOperation

func NewMonitorEventSubscriberOperation(providerURI *mal.URI) (*MonitorEventSubscriberOperation, error)

func (*MonitorEventSubscriberOperation) Deregister

func (receiver *MonitorEventSubscriberOperation) Deregister(subscriptionids *mal.IdentifierList) error

func (*MonitorEventSubscriberOperation) GetNotify

func (*MonitorEventSubscriberOperation) Register

func (receiver *MonitorEventSubscriberOperation) Register(subscription *mal.Subscription) error

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