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 NewErrBidiRoutingIdNotCached(ctx *context.T) error
- func NewErrCannotListenOnBidi(ctx *context.T) error
- func ParamsErrBidiRoutingIdNotCached(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)
- func ParamsErrCannotListenOnBidi(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)
- type Bidi
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) )
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.
func NewErrBidiRoutingIdNotCached ¶
NewErrBidiRoutingIdNotCached returns an error with the ErrBidiRoutingIdNotCached ID. Deprecated: this function will be removed in the future, use ErrorfBidiRoutingIdNotCached or MessageBidiRoutingIdNotCached instead.
func NewErrCannotListenOnBidi ¶
NewErrCannotListenOnBidi returns an error with the ErrCannotListenOnBidi ID. Deprecated: this function will be removed in the future, use ErrorfCannotListenOnBidi or MessageCannotListenOnBidi instead.
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.