[ CCode ( has_construct_function = false ) ]
public Server (string swarm_name)
Creates a new instance of Server and tries to bind to bus_address.
The swarm_leader property will be set when the binding succeeds.
Note that this function will automatically determine the value of bus_address property and will generally cause your application to use new socket for every Server with different swarm name. See Server.for_address if you'd like to share one connection between multiple Server instances.
swarm_name |
Name of swarm to join. |
A newly constructed Server. |