Skip to content
Paul Weng edited this page May 2, 2013 · 9 revisions

This page shows the API for using PyPubSub

PyPubSub.PyPubSub(SubscriberHostIPV4, SubscriberHostPort, PublisherHostIPV4, PublisherHostPort)

  • Initialise PyPubSub with Subscriber Server's and Publisher Server's IPV4s and Ports
  • Attributes: SubscriberHostIPV4 (String), SubscriberHostPort (int), PublisherHostIPV4 (String), PublisherHostPort (int)

PyPubSub.startSubscriberHostService()

  • Start the Subscriber Server

PyPubSub.startPublisherHostService()

  • Start the Publisher Server

PyPubSub.stopSubscriberHostService()

  • Stop the Subscriber Server

PyPubSub.stopPublisherHostService()

  • Stop the Publisher Server

Clone this wiki locally