star

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package star implements a new, experimental protocol called "STAR". This is like the BUS protocol, except that each member of the network automatically forwards any message it receives to any other peers. In a star network, this means that all members should receive all messages, assuming that there is a central server. Its important to ensure that the topology is free from cycles, as there is no protection against that, and cycles can lead to infinite message storms. (TODO: Add a TTL, and basic message ID / anti-replay protection.)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProtocol

func NewProtocol() mangos.Protocol

NewProtocol returns a new STAR protocol object.

func NewSocket

func NewSocket() (mangos.Socket, error)

NewSocket allocates a new Socket using the STAR protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL