/// <summary>
        /// Remove a Service server from this connection
        /// </summary>
        /// <param name="serviceProvider"></param>
        public void Unadvertise(ROSBridgeServiceProvider serviceProvider)
        {
            if (this.IsConnected)
            {
                this.webSocket.Send(ROSBridgeMsg.UnadvertiseService(serviceProvider.Name));
            }

            this.serviceProviders.Remove(serviceProvider);
        }
 public ServiceTask(ROSBridgeServiceProvider service, ServiceArgs serviceArgs, string id)
 {
     this.service     = service;
     this.serviceArgs = serviceArgs;
     this.id          = id;
 }