Kamaelia docs : Kamaelia.Internet.Multicast_transceiver.Multicast_transceiver

Kamaelia.Internet.Multicast_transceiver.Multicast_transceiver

For examples and more explanations, see the module level docs.


class Multicast_transceiver(Axon.Component.component)

Multicast_transciever(local_addr, local_port, remote_addr, remote_port) -> component that send and receives data to/from a multicast group.

Creates a component that sends data received on its "inbox" inbox to the specified multicast group; and sends to its "outbox" outbox tuples of the form (src_addr, data) containing data received.

Keyword arguments:

  • local_addr -- local address (interface) to send from (string)
  • local_port -- port number
  • remote_addr -- address of multicast group (string)
  • remote_port -- port number

Inboxes

  • control : NOT USED
  • inbox : Data to be sent to the multicast group

Outboxes

  • outbox : Emits (src_addr, data_received)
  • signal : NOT USED

Methods defined here

__init__(self, local_addr, local_port, remote_addr, remote_port[, debug])

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

main(self)

Main loop

Feedback

Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!

Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.

-- Automatic documentation generator, 19 Oct 2008 at 14:29:09 UTC/GMT

This is a page from the Kamaelia website. You can find the original here: