mqtt

package
v0.0.0-...-116ca14 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQTTClient

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

func New

func New(config arc_config.Config, isServer bool) (*MQTTClient, error)

func (*MQTTClient) Connect

func (c *MQTTClient) Connect() error

func (*MQTTClient) Disconnect

func (c *MQTTClient) Disconnect()

func (*MQTTClient) ErrorInformation

func (c *MQTTClient) ErrorInformation() *helpers.DriverError

func (*MQTTClient) IdentityInformation

func (c *MQTTClient) IdentityInformation() helpers.TransportIdentity

func (*MQTTClient) IsConnected

func (c *MQTTClient) IsConnected() bool

func (*MQTTClient) Registration

func (c *MQTTClient) Registration(msg *arc.Registration) error

func (*MQTTClient) Reply

func (c *MQTTClient) Reply(msg *arc.Reply) error

func (*MQTTClient) Request

func (c *MQTTClient) Request(msg *arc.Request) error

func (*MQTTClient) Subscribe

func (c *MQTTClient) Subscribe(identity string) (<-chan *arc.Request, func())

func (*MQTTClient) SubscribeJob

func (c *MQTTClient) SubscribeJob(requestId string) (<-chan *arc.Reply, func())

func (*MQTTClient) SubscribeRegistrations

func (c *MQTTClient) SubscribeRegistrations() (<-chan *arc.Registration, func())

func (*MQTTClient) SubscribeReplies

func (c *MQTTClient) SubscribeReplies() (<-chan *arc.Reply, func())

Jump to

Keyboard shortcuts

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