v.io: v.io/x/ref/runtime/protocols/bidi Index | Files

package bidi

import "v.io/x/ref/runtime/protocols/bidi"

Index

Package Files

bidi.vdl.go init.go

Constants

const Name = "bidi"

Variables

var (
    ErrCannotListenOnBidi     = verror.NewIDAction("v.io/x/ref/runtime/protocols/bidi.CannotListenOnBidi", verror.NoRetry)
    ErrBidiRoutingIdNotCached = verror.NewIDAction("v.io/x/ref/runtime/protocols/bidi.BidiRoutingIdNotCached", verror.NoRetry)
)

func ErrorfBidiRoutingIdNotCached Uses

func ErrorfBidiRoutingIdNotCached(ctx *context.T, format string) error

ErrorfBidiRoutingIdNotCached calls ErrBidiRoutingIdNotCached.Errorf with the supplied arguments.

func ErrorfCannotListenOnBidi Uses

func ErrorfCannotListenOnBidi(ctx *context.T, format string) error

ErrorfCannotListenOnBidi calls ErrCannotListenOnBidi.Errorf with the supplied arguments.

func MessageBidiRoutingIdNotCached Uses

func MessageBidiRoutingIdNotCached(ctx *context.T, message string) error

MessageBidiRoutingIdNotCached calls ErrBidiRoutingIdNotCached.Message with the supplied arguments.

func MessageCannotListenOnBidi Uses

func MessageCannotListenOnBidi(ctx *context.T, message string) error

MessageCannotListenOnBidi calls ErrCannotListenOnBidi.Message with the supplied arguments.

func ParamsErrBidiRoutingIdNotCached Uses

func ParamsErrBidiRoutingIdNotCached(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)

ParamsErrBidiRoutingIdNotCached extracts the expected parameters from the error's ParameterList.

func ParamsErrCannotListenOnBidi Uses

func ParamsErrCannotListenOnBidi(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)

ParamsErrCannotListenOnBidi extracts the expected parameters from the error's ParameterList.

type Bidi Uses

type Bidi struct{}

Bidi protocol represents the protocol to make a bidirectional RPC. Dial, Resolve, and Listen all fail on the Bidi protocol because the RoutingID of the end server must already be in the flow.Manager's cache for the bidirectional call to succeed.

func (Bidi) Dial Uses

func (Bidi) Dial(ctx *context.T, network, address string, timeout time.Duration) (flow.Conn, error)

func (Bidi) Listen Uses

func (Bidi) Listen(ctx *context.T, network, address string) (flow.Listener, error)

func (Bidi) Resolve Uses

func (Bidi) Resolve(ctx *context.T, network, address string) (string, []string, error)

Package bidi imports 5 packages (graph) and is imported by 5 packages. Updated 2020-12-22. Refresh now. Tools for package owners.