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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
ca0d12a3
Commit
ca0d12a3
authored
Apr 24, 2019
by
Muxi Yan
Browse files
Options
Downloads
Patches
Plain Diff
Polish and add comments
parent
bd30e739
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/objective-c/GRPCClient/GRPCCall.h
+6
-0
6 additions, 0 deletions
src/objective-c/GRPCClient/GRPCCall.h
src/objective-c/ProtoRPC/ProtoRPC.h
+12
-6
12 additions, 6 deletions
src/objective-c/ProtoRPC/ProtoRPC.h
with
18 additions
and
6 deletions
src/objective-c/GRPCClient/GRPCCall.h
+
6
−
0
View file @
ca0d12a3
...
@@ -269,6 +269,12 @@ extern NSString *const kGRPCTrailersKey;
...
@@ -269,6 +269,12 @@ extern NSString *const kGRPCTrailersKey;
*/
*/
-
(
void
)
finish
;
-
(
void
)
finish
;
/**
* Tell gRPC to receive the next N gRPC message from gRPC core.
*
* This method should only be used when flow control is enabled. When flow control is not enabled,
* this method is a no-op.
*/
-
(
void
)
receiveNextMessages
:(
NSUInteger
)
numberOfMessages
;
-
(
void
)
receiveNextMessages
:(
NSUInteger
)
numberOfMessages
;
/**
/**
...
...
...
...
This diff is collapsed.
Click to expand it.
src/objective-c/ProtoRPC/ProtoRPC.h
+
12
−
6
View file @
ca0d12a3
...
@@ -138,16 +138,22 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -138,16 +138,22 @@ NS_ASSUME_NONNULL_BEGIN
-
(
void
)
finish
;
-
(
void
)
finish
;
/**
/**
* Tell gRPC to receive the next message. If flow control is enabled, the messages received from the
* Tell gRPC to receive another message.
* server are buffered in gRPC until the user want to receive the next message. If flow control is
*
* not enabled, messages will be automatically received after the previous one is delivered.
* This method should only be used when flow control is enabled. If flow control is enabled, gRPC
* will only receive additional messages after the user indicates so by using either
* receiveNextMessage: or receiveNextMessages: methods. If flow control is not enabled, messages
* will be automatically received after the previous one is delivered.
*/
*/
-
(
void
)
receiveNextMessage
;
-
(
void
)
receiveNextMessage
;
/**
/**
* Tell gRPC to receive the next N message. If flow control is enabled, the messages received from
* Tell gRPC to receive another N message.
* the server are buffered in gRPC until the user want to receive the next message. If flow control
*
* is not enabled, messages will be automatically received after the previous one is delivered.
* This method should only be used when flow control is enabled. If flow control is enabled, the
* messages received from the server are buffered in gRPC until the user want to receive the next
* message. If flow control is not enabled, messages will be automatically received after the
* previous one is delivered.
*/
*/
-
(
void
)
receiveNextMessages
:(
NSUInteger
)
numberOfMessages
;
-
(
void
)
receiveNextMessages
:(
NSUInteger
)
numberOfMessages
;
...
...
...
...
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
sign in
to comment