types

package
v0.0.0-...-379887d Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel interface {
	Name() string
	FieldDesc() (pvdata.FieldDesc, error)
}

Channel represents the minimal channel.

For a channel to be useful, it must implement one of the following additional interfaces:

- CreateChannelProcess - CreateChannelGet - CreateChannelPut - CreateChannelPutGet - CreateChannelRPC - CreateMonitor - CreateChannelArray

type ChannelFinder

type ChannelFinder interface {
	ChannelFind(ctx context.Context, name string) (bool, error)
}

type ChannelGetCreator

type ChannelGetCreator interface {
	CreateChannelGet(ctx context.Context, req pvdata.PVStructure) (ChannelGeter, error)
}

type ChannelGeter

type ChannelGeter interface {
	ChannelGet(ctx context.Context) (response interface{}, err error)
}

type ChannelLister

type ChannelLister interface {
	ChannelList(ctx context.Context) ([]string, error)
}

type ChannelMonitorCreator

type ChannelMonitorCreator interface {
	CreateChannelMonitor(ctx context.Context, req pvdata.PVStructure) (Nexter, error)
}

type ChannelProvider

type ChannelProvider interface {
	CreateChannel(ctx context.Context, name string) (Channel, error)
}

ChannelProvider represents the minimal channel provider. Optionally, a channel provider may implement ChannelLister or ChannelFinder.

type ChannelPutCreator

type ChannelPutCreator interface {
	CreateChannelPut(ctx context.Context, req pvdata.StructFieldDesc) (ChannelPuter, error)
}

type ChannelPuter

type ChannelPuter interface {
	ChannelPut(value interface{}, ctx context.Context) (interface{}, error)
}

type ChannelRPCCreator

type ChannelRPCCreator interface {
	CreateChannelRPC(ctx context.Context, req pvdata.PVStructure) (ChannelRPCer, error)
}

type ChannelRPCer

type ChannelRPCer interface {
	ChannelRPC(ctx context.Context, req pvdata.PVStructure) (response interface{}, err error)
}

type Nexter

type Nexter interface {
	Next(ctx context.Context) (interface{}, error)
}

Jump to

Keyboard shortcuts

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