Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "bidi"
Variables ¶
View Source
var ( ErrCannotListenOnBidi = verror.Register("v.io/x/ref/runtime/protocols/bidi.CannotListenOnBidi", verror.NoRetry, "{1:}{2:} cannot listen on bidi protocol") ErrBidiRoutingIdNotCached = verror.Register("v.io/x/ref/runtime/protocols/bidi.BidiRoutingIdNotCached", verror.NoRetry, "{1:}{2:} bidi routing id not in cache") )
Functions ¶
func NewErrBidiRoutingIdNotCached ¶
NewErrBidiRoutingIdNotCached returns an error with the ErrBidiRoutingIdNotCached ID.
func NewErrCannotListenOnBidi ¶
NewErrCannotListenOnBidi returns an error with the ErrCannotListenOnBidi ID.
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.