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
302763f8
Commit
302763f8
authored
8 years ago
by
Yuchen Zeng
Browse files
Options
Downloads
Patches
Plain Diff
Address review comments
parent
02139a05
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/cpp/util/cli_credentials.h
+1
-0
1 addition, 0 deletions
test/cpp/util/cli_credentials.h
test/cpp/util/proto_file_parser.h
+9
-6
9 additions, 6 deletions
test/cpp/util/proto_file_parser.h
with
10 additions
and
6 deletions
test/cpp/util/cli_credentials.h
+
1
−
0
View file @
302763f8
...
...
@@ -42,6 +42,7 @@ namespace testing {
class
CliCredentials
{
public:
virtual
~
CliCredentials
()
{};
virtual
std
::
shared_ptr
<
grpc
::
ChannelCredentials
>
GetCredentials
()
const
;
virtual
const
grpc
::
string
GetCredentialUsage
()
const
;
};
...
...
This diff is collapsed.
Click to expand it.
test/cpp/util/proto_file_parser.h
+
9
−
6
View file @
302763f8
...
...
@@ -48,15 +48,18 @@ class ErrorPrinter;
// Find method and associated request/response types.
class
ProtoFileParser
{
public:
// The
given proto file_name
will
be
search
ed in a source tree rooted from
// pro
to_path. The method could be a partial string such as Service.Method or
//
even just Method. It will log an error if there is ambiguity
.
ProtoFileParser
(
std
::
shared_ptr
<
grpc
::
Channel
>
channel
,
const
grpc
::
string
&
proto_path
,
const
grpc
::
string
&
protofiles
);
// The
parser
will search
proto files using the server reflection service
// pro
vided on the given channel. The given protofiles in a source tree rooted
//
from proto_path will also be searched
.
explicit
ProtoFileParser
(
std
::
shared_ptr
<
grpc
::
Channel
>
channel
,
const
grpc
::
string
&
proto_path
,
const
grpc
::
string
&
protofiles
);
~
ProtoFileParser
();
// The input method name in the following four functions could be a partial
// string such as Service.Method or even just Method. It will log an error if
// there is ambiguity.
// Full method name is in the form of Service.Method, it's good to be used in
// descriptor database queries.
grpc
::
string
GetFullMethodName
(
const
grpc
::
string
&
method
);
...
...
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