5.178 RPCOutgoingContexts

RPCOutgoingContexts is an abstract type that is a sequence of tuples, one tuple per RPC context for an outgoing RPC session from the DC. Each tuple contains the following fields:

  • ServerName: A unicodestring (section 3.4.3) that contains the host name of the server.

  • IsBound: A Boolean value that is true if IDL_DRSUnbind has not yet been called on the RPC context represented by this tuple, and false otherwise.

  • HandleFromCache: A Boolean value that is true if the context handle was retrieved from the cache, and false otherwise.

  • HandleInCache: A Boolean value that is true if the context handle is still in the cache, and false otherwise.

  • ThreadId: An integer that contains the thread ID of the thread that is using the context.

  • BindingTimeOut: An integer. If the context is set to be canceled, then this field contains the time-out, in minutes.

  • CreateTime: A DSTIME value that contains the time when the context was created.

  • CallType: An integer that indicates the type of RPC call that the DC is waiting on. See DS_REPL_SERVER_OUTGOING_CALL for possible values.

The global variable dc for a DC has an associated field dc.rpcOutgoingContexts, which maintains the DC's RPCOutgoingContexts state.