Namespace

Methods

BrB::Tunnel

Public Class Methods

create(object, uri = nil, opts = {}, &block) click to toggle source

Create a BrB Tunnel by connecting to a distant BrB service Pass a block if you want to get register and unregister events The first parameter object is the object you want to expose in the BrB tunnel

# File lib/brb/tunnel.rb, line 11
def self.create(object, uri = nil, opts = {}, &block)
  BrB::Protocol.open(uri, BrB::Tunnel::Handler, opts.merge(:object => object, :block => block))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.