Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
389297de
Commit
389297de
authored
9 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Document some things
parent
b519af8b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/transport/transport.h
+5
-2
5 additions, 2 deletions
src/core/transport/transport.h
with
5 additions
and
2 deletions
src/core/transport/transport.h
+
5
−
2
View file @
389297de
...
@@ -123,7 +123,8 @@ typedef struct grpc_transport_stream_op {
...
@@ -123,7 +123,8 @@ typedef struct grpc_transport_stream_op {
/** Transport op: a set of operations to perform on a transport as a whole */
/** Transport op: a set of operations to perform on a transport as a whole */
typedef
struct
grpc_transport_op
{
typedef
struct
grpc_transport_op
{
/** called when processing of this op is done */
/** Called when processing of this op is done.
Only one transport_op is allowed to be outstanding at any time. */
grpc_closure
*
on_consumed
;
grpc_closure
*
on_consumed
;
/** connectivity monitoring - set connectivity_state to NULL to unsubscribe */
/** connectivity monitoring - set connectivity_state to NULL to unsubscribe */
grpc_closure
*
on_connectivity_state_change
;
grpc_closure
*
on_connectivity_state_change
;
...
@@ -138,7 +139,9 @@ typedef struct grpc_transport_op {
...
@@ -138,7 +139,9 @@ typedef struct grpc_transport_op {
grpc_status_code
goaway_status
;
grpc_status_code
goaway_status
;
gpr_slice
*
goaway_message
;
gpr_slice
*
goaway_message
;
/** set the callback for accepting new streams;
/** set the callback for accepting new streams;
this is a permanent callback, unlike the other one-shot closures */
this is a permanent callback, unlike the other one-shot closures.
If true, the callback is set to set_accept_stream_fn, with its
user_data argument set to set_accept_stream_user_data */
bool
set_accept_stream
;
bool
set_accept_stream
;
void
(
*
set_accept_stream_fn
)(
grpc_exec_ctx
*
exec_ctx
,
void
*
user_data
,
void
(
*
set_accept_stream_fn
)(
grpc_exec_ctx
*
exec_ctx
,
void
*
user_data
,
grpc_transport
*
transport
,
grpc_transport
*
transport
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment