impl

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO: Add configuration mechanism for the SDK
	DefaultMaxOutOfOrderMsgs = 5000
)

Variables

This section is empty.

Functions

func NewEdgeConnFactory

func NewEdgeConnFactory(routerName, key string, ch channel2.Channel, owner RouterConnOwner) edge.RouterConn

Types

type MultiListener

type MultiListener interface {
	edge.Listener
	AddListener(listener edge.Listener, closeHandler func())
	NotifyOfChildError(err error)
	GetServiceName() string
	GetService() *edge.Service
	CloseWithError(err error)
}

func NewMultiListener

func NewMultiListener(service *edge.Service, getSessionF func() *edge.Session) MultiListener

type MultipleErrors

type MultipleErrors []error

func (MultipleErrors) Error

func (e MultipleErrors) Error() string

type RouterConnOwner

type RouterConnOwner interface {
	OnClose(factory edge.RouterConn)
}

Jump to

Keyboard shortcuts

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