Class: Thrift::TBidiInboundStream
- Inherits:
-
Object
- Object
- Thrift::TBidiInboundStream
- Defined in:
- lib/thrift/bidi_stream.rb
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(bidi_stream) ⇒ TBidiInboundStream
constructor
A new instance of TBidiInboundStream.
- #receive ⇒ Object
Constructor Details
#initialize(bidi_stream) ⇒ TBidiInboundStream
Returns a new instance of TBidiInboundStream.
3 4 5 |
# File 'lib/thrift/bidi_stream.rb', line 3 def initialize(bidi_stream) @bidi_stream = bidi_stream end |
Instance Method Details
#close ⇒ Object
11 12 13 |
# File 'lib/thrift/bidi_stream.rb', line 11 def close @bidi_stream.inbound_close end |
#receive ⇒ Object
7 8 9 |
# File 'lib/thrift/bidi_stream.rb', line 7 def receive @bidi_stream.receive end |