xgress_edge

package
v0.15.26 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMaxOutOfOrderMsgs = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Accepter

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

func NewAccepter

func NewAccepter(listener *listener, uListener channel2.UnderlayListener, options *channel2.Options) *Accepter

func (*Accepter) Run

func (accepter *Accepter) Run()

type Factory

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

func NewFactory

func NewFactory() *Factory

NewFactory constructs a new Edge Xgress Factory instance

func (*Factory) BindChannel

func (factory *Factory) BindChannel(ch channel2.Channel) error

func (*Factory) Channel

func (factory *Factory) Channel() channel2.Channel

func (*Factory) CreateDialer

func (factory *Factory) CreateDialer(optionsData xgress.OptionsData) (xgress.Dialer, error)

CreateDialer creates a new Edge Xgress dialer

func (*Factory) CreateListener

func (factory *Factory) CreateListener(optionsData xgress.OptionsData) (xgress.Listener, error)

CreateListener creates a new Edge Xgress listener

func (*Factory) Enabled

func (factory *Factory) Enabled() bool

func (*Factory) LoadConfig

func (factory *Factory) LoadConfig(configMap map[interface{}]interface{}) error

func (*Factory) Run

func (factory *Factory) Run(ctrl channel2.Channel, _ boltz.Db, done chan struct{}) error

type Options

type Options struct {
	xgress.Options
	MaxOutOfOrderMsgs uint32
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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