class Async::Bus::Protocol::Proxy

Public Class Methods

new(connection, name) click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 25
def initialize(connection, name)
        @connection = connection
        @name = name
end

Public Instance Methods

!() click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 30
def !
        @connection.invoke(@name, [:!])
end
!=(object) click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 38
def != object
        @connection.invoke(@name, [:!=, object])
end
==(object) click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 34
def == object
        @connection.invoke(@name, [:==, object])
end
eql?(other) click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 42
def eql?(other)
        self.equal?(other)
end
inspect() click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 58
def inspect
        "[Proxy (#{@name}) #{method_missing(:inspect)}]"
end
method_missing(*arguments, **options, &block) click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 62
def method_missing(*arguments, **options, &block)
        @connection.invoke(@name, arguments, options, &block)
end
methods(all = true) click to toggle source
Calls superclass method
# File lib/async/bus/protocol/proxy.rb, line 46
def methods(all = true)
        @connection.invoke(@name, [:methods, all]) | super
end
protected_methods(all = true) click to toggle source
Calls superclass method
# File lib/async/bus/protocol/proxy.rb, line 50
def protected_methods(all = true)
        @connection.invoke(@name, [:protected_methods, all]) | super
end
public_methods(all = true) click to toggle source
Calls superclass method
# File lib/async/bus/protocol/proxy.rb, line 54
def public_methods(all = true)
        @connection.invoke(@name, [:public_methods, all]) | super
end
respond_to?(name, include_all = false) click to toggle source
# File lib/async/bus/protocol/proxy.rb, line 66
def respond_to?(name, include_all = false)
        @connection.invoke(@name, [:respond_to?, name, include_all])
end
respond_to_missing?(name, include_all = false) click to toggle source
Calls superclass method
# File lib/async/bus/protocol/proxy.rb, line 70
def respond_to_missing?(name, include_all = false)
        @connection.invoke(@name, [:respond_to?, name, include_all]) || super
end