Skip to content

Commit

Permalink
Updated docstring for Bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
prologic committed Jul 23, 2014
1 parent bd4f764 commit dd54b27
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions circuits/core/bridge.py
Expand Up @@ -4,18 +4,12 @@

"""Bridge
Bridge Component to Bridge one or more components in a single System.
That is, events in System A bridged to System B are shared. For example:
The Bridge Component is used for inter-process communications between
processes. Bridge is used internally when a Component is started in
"process mode" via :meth:`circuits.core.manager.start`. Typically a
Pipe is used as the socket transport between two sides of a Bridge
(*there must be a :class:`~Bridge` instnace on both sides*).
A <--> Bridge <--> B
Events that propagate in A, will propagate to B across the Bridge.
Events that propagate in B, will propagate to A across the Bridge.
When the Bridge is created, it will automatically attempt to send a
Hello Event to any configured nodes or on a broadcast address if no
nodes are initially configured. The default Bridge implementation
uses bidirectional pipes for high speec inter-process communications.
"""

try:
Expand Down

0 comments on commit dd54b27

Please sign in to comment.