Class: Sol::ReadBuffer
- Inherits:
-
Object
- Object
- Sol::ReadBuffer
- Defined in:
- lib/webview/sol.rb
Overview
Instance Method Summary (collapse)
-
- (Object) call
—————————————————————————————-.
-
- (ReadBuffer) initialize
constructor
A new instance of ReadBuffer.
Constructor Details
- (ReadBuffer) initialize
Returns a new instance of ReadBuffer
191 192 193 |
# File 'lib/webview/sol.rb', line 191 def initialize @bridge = Bridge.instance end |
Instance Method Details
- (Object) call
199 200 201 202 203 204 205 206 207 208 209 |
# File 'lib/webview/sol.rb', line 199 def call begin msg = @bridge.take return msg # this is the returned message to the handle rescue java.lang.InterruptedException => e if (is_cancelled) updateMessage("Cancelled") end end end |