Class: CEF::Sender

Inherits:
Object
  • Object
show all
Defined in:
lib/cef/sender.rb

Direct Known Subclasses

UDPSender

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Sender



7
8
9
10
# File 'lib/cef/sender.rb', line 7

def initialize(*args)
  Hash[*args].each { |argname, argval| self.send(("%s="%argname), argval) }
  @sock=nil
end

Instance Attribute Details

#eventDefaultsObject

Returns the value of attribute eventDefaults.



5
6
7
# File 'lib/cef/sender.rb', line 5

def eventDefaults
  @eventDefaults
end

#receiverObject

Returns the value of attribute receiver.



5
6
7
# File 'lib/cef/sender.rb', line 5

def receiver
  @receiver
end

#receiverPortObject

Returns the value of attribute receiverPort.



5
6
7
# File 'lib/cef/sender.rb', line 5

def receiverPort
  @receiverPort
end

#sockObject (readonly)

Returns the value of attribute sock.



6
7
8
# File 'lib/cef/sender.rb', line 6

def sock
  @sock
end