Methods
Classes and Modules
Class Needle::Extras::Multicast::Target
Public Instance methods
register_services( container )

Register the multicast factory service in the given container. The multicast service is a parameterized service which accepts a single parameter—an array of the targets to apply to the multicaster. It will then return an instance of a multicast service.

    # File lib/needle/extras/multicast.rb, line 32
32:       def register_services( container )
33:         container.define.multicast :model => :prototype do |c,p,*targets|
34:           Multicast::Target.new( *targets )
35:         end
36:       end