xlink_transport

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LinkHeaderConnId = 0
	LinkHeaderType   = 1

	PayloadChannel = 1
	AckChannel     = 2
)

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(accepter xlink.Accepter, chAccepter ChannelAccepter, c transport.Configuration) xlink.Factory

Types

type ChannelAccepter

type ChannelAccepter interface {
	AcceptChannel(xlink xlink.Xlink, payloadCh channel2.Channel, latency bool) error
}

ChannelAccepter can be implemented and provided to the factory to perform channel2 binding and other channel setup tasks at accept time.

Jump to

Keyboard shortcuts

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