Server


Description:

[ 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:

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.

Parameters:

swarm_name

Name of swarm to join.

Returns:

A newly constructed Server.