messageprocessors

package
v3.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package messageprocessors provides interfaces and implementations for processing uplink and downlink messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PayloadDecoder

type PayloadDecoder interface {
	Decode(ctx context.Context, ids ttnpb.EndDeviceIdentifiers, version *ttnpb.EndDeviceVersionIdentifiers, message *ttnpb.ApplicationUplink, parameter string) error
}

PayloadDecoder represents a payload decoder message processor.

type PayloadDecoderRPC

type PayloadDecoderRPC struct {
	PayloadDecoder
}

PayloadDecoderRPC implements the UplinkMessageProcessorServer using a payload decoder.

func (*PayloadDecoderRPC) Process

Process implements the UplinkMessageProcessorServer interface.

type PayloadEncodeDecoder

type PayloadEncodeDecoder interface {
	PayloadEncoder
	PayloadDecoder
}

PayloadEncodeDecoder is the interface that groups the Encode and Decode methods.

type PayloadEncoder

type PayloadEncoder interface {
	Encode(ctx context.Context, ids ttnpb.EndDeviceIdentifiers, version *ttnpb.EndDeviceVersionIdentifiers, message *ttnpb.ApplicationDownlink, parameter string) error
}

PayloadEncoder represents a payload encoder message processor.

type PayloadEncoderRPC

type PayloadEncoderRPC struct {
	PayloadEncoder
}

PayloadEncoderRPC implements the DownlinkMessageProcessorServer using a payload encoder.

func (*PayloadEncoderRPC) Process

Process implements the DownlinkMessageProcessorServer interface.

Directories

Path Synopsis
Package cayennelpp contains the CayenneLPP payload formatter message processors.
Package cayennelpp contains the CayenneLPP payload formatter message processors.
Package javascript contains the Javascript payload formatter message processors.
Package javascript contains the Javascript payload formatter message processors.

Jump to

Keyboard shortcuts

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