xlink_transport

package
v0.17.54 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LinkHeaderConnId   = 0
	LinkHeaderType     = 1
	LinkHeaderRouterId = 2

	PayloadChannel channelType = 1
	AckChannel     channelType = 2
)

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(accepter xlink.Acceptor, bindHandlerFactory BindHandlerFactory, c transport.Configuration) xlink.Factory

Types

type BindHandlerFactory added in v0.17.32

type BindHandlerFactory interface {
	NewBindHandler(xlink xlink.Xlink, latency bool, listenerSide bool) channel.BindHandler
}

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

type ConnectionHandler added in v0.16.128

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

func (*ConnectionHandler) HandleConnection added in v0.16.128

func (self *ConnectionHandler) HandleConnection(_ *channel.Hello, certificates []*x509.Certificate) error

Jump to

Keyboard shortcuts

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