gateway_msgs¶
Contents:
Summary¶
-
gateway_msgs
¶ Version: 0.7.12
Description: Messages used by the gateway model.
Maintainers: - Daniel Stonier <d DOT stonier AT gmail DOT com>
- Jihoon Lee <jihoonlee DOT in AT gmail DOT com>
- Piyush Khandelwal <piyushk AT gmail DOT com>
Licenses: - BSD
Urls: Authors: - Daniel Stonier
- Jihoon Lee
- Piyush Khandelwal
BuildDepends: BuildtoolDepends: BuildExportDepends: ExecDepends: Exports: - <architecture_independent/>
Types¶
Service types¶
gateway_msgs/SetWatcherPeriod
gateway_msgs/RemoteAll
gateway_msgs/Remote
gateway_msgs/AdvertiseAll
gateway_msgs/ConnectHub
gateway_msgs/RemoteGatewayInfo
gateway_msgs/Advertise
-
gateway_msgs/SetWatcherPeriod
¶ Field (Request): - period (float32) –
Field (Response): - last_period (float32) –
set the watcher loop period (float value in secs). a negative value or 0.0 returns it to the default set by param
# set the watcher loop period (float value in secs). # a negative value or 0.0 returns it to the default set by param float32 period --- # return the previous setting used for this variable float32 last_period
-
gateway_msgs/RemoteAll
¶ Field (Request): - gateway (string) –
- blacklist[] (gateway_msgs/Rule) –
- cancel (bool) –
Field (Response): - result (int8) –
- error_message (string) –
Flips all except a blacklist to the specified target
The target recipient of the flip
# Flips all except a blacklist to the specified target # The target recipient of the flip string gateway # list of connections to exclude, this will be added to the default blacklist Rule[] blacklist # if cancel is set, stops flipping all connections bool cancel --- # Return a verbose error string to help with debugging if success fails. # Strings defined in gateway_comms.msg.Result int8 result string error_message
-
gateway_msgs/Remote
¶ Field (Request): - remotes[] (gateway_msgs/RemoteRule) –
- cancel (bool) –
Field (Response): - result (int8) –
- error_message (string) –
Rules list specifying interactions with a remote gateway. Depending on the service, this gets used for either flips or pulls.
List of flip/pull rules
# Rules list specifying interactions with a remote gateway. # Depending on the service, this gets used for either flips or pulls. # List of flip/pull rules RemoteRule[] remotes # if true, attempt to cancel an existing flip rather than creating it bool cancel --- # Return a verbose error string to help with debugging if success fails. # Strings defined in gateway_msgs.ErrorCodes int8 result string error_message
-
gateway_msgs/AdvertiseAll
¶ Field (Request): - cancel (bool) –
- blacklist[] (gateway_msgs/Rule) –
Field (Response): - result (int8) –
- error_message (string) –
- blacklist[] (gateway_msgs/Rule) –
if cancel is set, stops advertising all connections
# if cancel is set, stops advertising all connections bool cancel Rule[] blacklist --- # Return a verbose error string to help with debugging if success fails. # Strings defined in gateway_comms.msg.Result int8 result string error_message Rule[] blacklist
-
gateway_msgs/ConnectHub
¶ Field (Request): - uri (string) –
Field (Response): - result (int8) –
- error_message (string) –
Use to make connections to the hub.
# Use to make connections to the hub. string uri --- # Return a verbose error string to help with debugging if success fails. # Strings defined in gateway_comms.msg.Result int8 result string error_message
-
gateway_msgs/RemoteGatewayInfo
¶ Field (Request): - gateways[] (string) –
Field (Response): - gateways[] (gateway_msgs/RemoteGateway) –
optional list of gateway names to filter the returned list supplying this list empty returns information for all the gateways
# optional list of gateway names to filter the returned list # supplying this list empty returns information for all the gateways string[] gateways --- RemoteGateway[] gateways
-
gateway_msgs/Advertise
¶ Field (Request): - cancel (bool) –
- rules[] (gateway_msgs/Rule) –
Field (Response): - result (int8) –
- error_message (string) –
- watchlist[] (gateway_msgs/Rule) –
if cancel is set, removes the list from the public interface
# if cancel is set, removes the list from the public interface bool cancel Rule[] rules --- # Return a verbose error string to help with debugging if success fails. # Strings defined in gateway_comms.msg.Result int8 result string error_message Rule[] watchlist