Class: QuartzTorrent::Reactor::InternalTimerInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/quartz_torrent/reactor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, data) ⇒ InternalTimerInfo

Returns a new instance of InternalTimerInfo.



384
385
386
387
# File 'lib/quartz_torrent/reactor.rb', line 384

def initialize(type, data)
  @type = type
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



389
390
391
# File 'lib/quartz_torrent/reactor.rb', line 389

def data
  @data
end

#typeObject

Returns the value of attribute type.



388
389
390
# File 'lib/quartz_torrent/reactor.rb', line 388

def type
  @type
end