Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorfBidiRoutingIdNotCached(ctx *context.T, format string) error
- func ErrorfCannotListenOnBidi(ctx *context.T, format string) error
- func MessageBidiRoutingIdNotCached(ctx *context.T, message string) error
- func MessageCannotListenOnBidi(ctx *context.T, message string) error
- func ParamsErrBidiRoutingIdNotCached(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)
- func ParamsErrCannotListenOnBidi(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)
- type Bidi
Constants ¶
View Source
const Name = "bidi"
Variables ¶
View Source
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) )
Functions ¶
func ErrorfBidiRoutingIdNotCached ¶ added in v0.1.10
ErrorfBidiRoutingIdNotCached calls ErrBidiRoutingIdNotCached.Errorf with the supplied arguments.
func ErrorfCannotListenOnBidi ¶ added in v0.1.10
ErrorfCannotListenOnBidi calls ErrCannotListenOnBidi.Errorf with the supplied arguments.
func MessageBidiRoutingIdNotCached ¶ added in v0.1.10
MessageBidiRoutingIdNotCached calls ErrBidiRoutingIdNotCached.Message with the supplied arguments.
func MessageCannotListenOnBidi ¶ added in v0.1.10
MessageCannotListenOnBidi calls ErrCannotListenOnBidi.Message with the supplied arguments.
Types ¶
type Bidi ¶
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.
Click to show internal directories.
Click to hide internal directories.