Bundle activator for OSGi based environment usage of the FINS bundle. When this
bundle is started, it automatically starts a gateway for this machine on the default
UDP port and handles automatically any units defined within the OSGi framework by tracking
services. The activator looks for configuration data at PID fins.gateway. The following properties
are accepted:
- port. If specified this is the UDP port the gateway will listen on. If blank, the gateway
is shut down (or doesn't come up).
- remote.nodes. Contains a string with the map of FINS nodes to remote machine. Format is
something like: 1/2=localhost:9001 2/4=remotenode:9002 (first part is the FINS network/node,
second part the host and port, separated by an equals sign, multiple values are space separated).
- timeout. Contains the time-out in ms the gateway waits for responses from other nodes.
Defaults to 3000 ms.
- tries. Contains the number of times a packet is sent before it is considered to be
undeliverable. Defaults to 3.