class Af::QThread::Message
Attributes
data[RW]
from[RW]
msg_id[RW]
Public Class Methods
new(data, from = Thread.current)
click to toggle source
# File lib/fiksu-af/q_thread/message.rb, line 4 def initialize(data, from = Thread.current) @from = from @data = data @msg_id = self.class.new_msg_id end
new_msg_id()
click to toggle source
# File lib/fiksu-af/q_thread/message.rb, line 10 def self.new_msg_id return UUID.new end