ExtensionA Peer represents a node in a Utopia based network music system. Peers are usually contained in instances of AddrBook.
Create a new Peer.
| name |
A Symbol or String specifying a name for this Peer. This name should be unique within a given AddrBook. |
| addr |
A NetAddr specifying the IP address and port on which this Peer can be reached. |
| online |
A Boolean indicating whether or not this Peer is online. Classes like Hail and Registrar set this value automatically. |
A Peer instance.
Get or set whether this Peer is currently online. Usually an object like a Hail or Registrar would set this value automatically.
| bool |
(describe argument here) |
A Boolean
Test whether this Peer instance is equivalent to another. Peers are equivalent if their addrs, names, and online statuses are equivalent.
| other |
Another Peer. |
A Boolean