Skip to content

Commit

Permalink
Revert changes to SingleReqView and MultiReqView
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Jul 8, 2016
1 parent e69f088 commit ae466c8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ruby/lib/grpc/generic/active_call.rb
Original file line number Diff line number Diff line change
Expand Up @@ -454,14 +454,12 @@ def initialize(wrapped)
# SingleReqView limits access to an ActiveCall's methods for use in server
# handlers that receive just one request.
SingleReqView = view_class(:cancelled, :deadline, :metadata,
:output_metadata, :peer, :peer_cert,
:trailing_metadata)
:output_metadata, :peer, :peer_cert)

# MultiReqView limits access to an ActiveCall's methods for use in
# server client_streamer handlers.
MultiReqView = view_class(:cancelled, :deadline, :each_queued_msg,
:each_remote_read, :metadata, :output_metadata,
:trailing_metadata)
:each_remote_read, :metadata, :output_metadata)

# Operation limits access to an ActiveCall's methods for use as
# a Operation on the client.
Expand Down

0 comments on commit ae466c8

Please sign in to comment.