Class: M2R::ConnectionFactory::Options

Inherits:
Struct
  • Object
show all
Defined in:
lib/m2r/connection_factory.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sender_id, recv_addr, send_addr) ⇒ Options

Returns a new instance of Options.



15
16
17
# File 'lib/m2r/connection_factory.rb', line 15

def initialize(sender_id, recv_addr, send_addr)
  super
end

Instance Attribute Details

#recv_addrObject

Returns the value of attribute recv_addr



9
10
11
# File 'lib/m2r/connection_factory.rb', line 9

def recv_addr
  @recv_addr
end

#send_addrObject

Returns the value of attribute send_addr



9
10
11
# File 'lib/m2r/connection_factory.rb', line 9

def send_addr
  @send_addr
end

#sender_idObject

Returns the value of attribute sender_id



9
10
11
# File 'lib/m2r/connection_factory.rb', line 9

def sender_id
  @sender_id
end