Sha256: f542684c7b6fe25459dad834f6b3522efcf20dc0b0fc019547695d021bd5c2bd

Contents?: true

Size: 867 Bytes

Versions: 18

Compression:

Stored size: 867 Bytes

Contents

# Copyright (c) 2012 National ICT Australia Limited (NICTA).
# This software may be used and distributed solely under the terms of the MIT license (License).
# You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT.
# By downloading or using this software you accept the terms and the liability disclaimer in the License.

# module OmfCommon
  # class TopicMessage
    # attr_accessor :body, :comm
# 
    # def initialize(body, comm)
      # self.body ||= body
      # self.comm ||= comm
    # end
# 
    # def publish(topic_id, &block)
      # comm.publish(topic_id, body.dup, &block)
    # end
# 
    # %w(created status failed released).each do |itype|
      # define_method("on_inform_#{itype}") do |*args, &message_block|
        # comm.send("on_#{itype}_message", body, &message_block)
      # end
    # end
  # end
# end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
omf_common-6.1.2.pre.2 lib/omf_common/message/xml/topic_message.rb
omf_common-6.1.2.pre lib/omf_common/message/xml/topic_message.rb
omf_common-6.1.1 lib/omf_common/message/xml/topic_message.rb
omf_common-6.1.1.pre lib/omf_common/message/xml/topic_message.rb
omf_common-6.1.0 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.8.pre.5 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.7.1 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.8.pre.4 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.8.pre.3 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.8.pre.2 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.8.pre.1 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.7 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.6 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.5 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.4 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.4.pre.1 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.3 lib/omf_common/message/xml/topic_message.rb
omf_common-6.0.2 lib/omf_common/message/xml/topic_message.rb