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
c645306b
Commit
c645306b
authored
10 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Fixes
parent
0d1f67f4
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/grpc++/impl/service_type.h
+2
-2
2 additions, 2 deletions
include/grpc++/impl/service_type.h
include/grpc++/server_context.h
+4
-0
4 additions, 0 deletions
include/grpc++/server_context.h
src/cpp/server/server_context.cc
+2
-0
2 additions, 0 deletions
src/cpp/server/server_context.cc
with
8 additions
and
2 deletions
include/grpc++/impl/service_type.h
+
2
−
2
View file @
c645306b
...
@@ -82,7 +82,7 @@ class AsynchronousService {
...
@@ -82,7 +82,7 @@ class AsynchronousService {
size_t
method_count
)
size_t
method_count
)
:
cq_
(
cq
),
method_names_
(
method_names
),
method_count_
(
method_count
)
{}
:
cq_
(
cq
),
method_names_
(
method_names
),
method_count_
(
method_count
)
{}
~
AsynchronousService
()
;
~
AsynchronousService
()
{
delete
[]
request_args_
;
}
CompletionQueue
*
completion_queue
()
const
{
return
cq_
;
}
CompletionQueue
*
completion_queue
()
const
{
return
cq_
;
}
...
@@ -125,4 +125,4 @@ class AsynchronousService {
...
@@ -125,4 +125,4 @@ class AsynchronousService {
}
// namespace grpc
}
// namespace grpc
#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__
#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__
\ No newline at end of file
This diff is collapsed.
Click to expand it.
include/grpc++/server_context.h
+
4
−
0
View file @
c645306b
...
@@ -49,6 +49,8 @@ template <class R>
...
@@ -49,6 +49,8 @@ template <class R>
class
ServerAsyncReader
;
class
ServerAsyncReader
;
template
<
class
W
>
template
<
class
W
>
class
ServerAsyncWriter
;
class
ServerAsyncWriter
;
template
<
class
W
>
class
ServerAsyncResponseWriter
;
template
<
class
R
,
class
W
>
template
<
class
R
,
class
W
>
class
ServerAsyncReaderWriter
;
class
ServerAsyncReaderWriter
;
template
<
class
R
>
template
<
class
R
>
...
@@ -80,6 +82,8 @@ class ServerContext final {
...
@@ -80,6 +82,8 @@ class ServerContext final {
friend
class
::
grpc
::
ServerAsyncReader
;
friend
class
::
grpc
::
ServerAsyncReader
;
template
<
class
W
>
template
<
class
W
>
friend
class
::
grpc
::
ServerAsyncWriter
;
friend
class
::
grpc
::
ServerAsyncWriter
;
template
<
class
W
>
friend
class
::
grpc
::
ServerAsyncResponseWriter
;
template
<
class
R
,
class
W
>
template
<
class
R
,
class
W
>
friend
class
::
grpc
::
ServerAsyncReaderWriter
;
friend
class
::
grpc
::
ServerAsyncReaderWriter
;
template
<
class
R
>
template
<
class
R
>
...
...
This diff is collapsed.
Click to expand it.
src/cpp/server/server_context.cc
+
2
−
0
View file @
c645306b
...
@@ -38,6 +38,8 @@
...
@@ -38,6 +38,8 @@
namespace
grpc
{
namespace
grpc
{
ServerContext
::
ServerContext
()
{}
ServerContext
::
ServerContext
(
gpr_timespec
deadline
,
grpc_metadata
*
metadata
,
ServerContext
::
ServerContext
(
gpr_timespec
deadline
,
grpc_metadata
*
metadata
,
size_t
metadata_count
)
size_t
metadata_count
)
:
deadline_
(
Timespec2Timepoint
(
deadline
))
{
:
deadline_
(
Timespec2Timepoint
(
deadline
))
{
...
...
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