Object
# File lib/stomp_server/stomp_id.rb, line 12 def initialize @host = Socket.gethostname.to_s end
# File lib/stomp_server/stomp_id.rb, line 16 def [](id) msgid = sprintf("%.6f",Time.now.to_f).to_s.sub('.','-') msgid = @host + '-' + msgid + '-' + id.to_s end
[Validate]
Generated with the Darkfish Rdoc Generator 2.