Class: Thrift::TBidiInboundStream

Inherits:
Object
  • Object
show all
Defined in:
lib/thrift/bidi_stream.rb

Instance Method Summary collapse

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

#closeObject



11
12
13
# File 'lib/thrift/bidi_stream.rb', line 11

def close
  @bidi_stream.inbound_close
end

#receiveObject



7
8
9
# File 'lib/thrift/bidi_stream.rb', line 7

def receive
  @bidi_stream.receive
end