// Dynamically adds the given server to the client.
//
// serverAddr must be in the form 'host:port'.
//
// This function may be called only if the client has been started
// via DistributedClient.Start() call,
// not via DistributedClient.StartStatic() call!
//
// Added servers may be removed at any time
// via DistributedClient.DeleteServer() call.
Dynamically adds the given server to the client.

serverAddr must be in the form 'host:port'.

This function may be called only if the client has been started
via DistributedClient.Start() call,
not via DistributedClient.StartStatic() call!

Added servers may be removed at any time
via DistributedClient.DeleteServer() call.
// Dynamically adds the given server to the client . // // serverAddr must be in the form ' host : port ' . // // This function may be called only if the client has been started // via DistributedClient . Start () call // not via DistributedClient . StartStatic () call! // // Added servers may be removed at any time // via DistributedClient . DeleteServer () call .
func (c *DistributedClient) AddServer(serverAddr string) {
	if !c.isDynamic {
		panic("DistributedClient.AddServer() cannot be called from static client!")
	}
	c.addServer(serverAddr)
}
func ( c * DistributedClient ) AddServer ( serverAddr string ) { if ! c . isDynamic { panic ( " " ) } c . addServer ( serverAddr ) }
Dynamically adds the given server to the client.
Dynamically adds the given server to the client .