_simpleRequest('/api.RelayService/List', $argument, ['\Chirpstack\Api\ListRelaysResponse', 'decode'], $metadata, $options); } /** * AddDevice adds the given device to the relay. * @param \Chirpstack\Api\AddRelayDeviceRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function AddDevice(\Chirpstack\Api\AddRelayDeviceRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.RelayService/AddDevice', $argument, ['\Google\Protobuf\GPBEmpty', 'decode'], $metadata, $options); } /** * RemoveDevice removes the given device from the relay. * @param \Chirpstack\Api\RemoveRelayDeviceRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function RemoveDevice(\Chirpstack\Api\RemoveRelayDeviceRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.RelayService/RemoveDevice', $argument, ['\Google\Protobuf\GPBEmpty', 'decode'], $metadata, $options); } /** * ListDevices lists the devices for the given relay. * @param \Chirpstack\Api\ListRelayDevicesRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function ListDevices(\Chirpstack\Api\ListRelayDevicesRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.RelayService/ListDevices', $argument, ['\Chirpstack\Api\ListRelayDevicesResponse', 'decode'], $metadata, $options); } }