ArnLib  4.0.x
Active Registry Network
Discover

The "parameter path" in the table have stripped the "value" attribute, e.g. "Service/value".

Description


Usage of ARN Discover

Usage of ARN Discover

This is the ArnLib discover functionality, implemented by using ZeroConfig. It can be used with or without remote control of advertised service and needed connections.
 

Connect

Is the remote control for the connections made by the host.

Each connection has a logic id that identifies the needed service / functionality. For each connection there can be a list 
with many  direct addressed hosts to try.  Each connection can also have one discovered host to try.
By default a discovered host has precedence before a direct host when trying to connect.

Parameter pathEditableDescription
DirectHosts/Host-<i> Yes Trying direct connection to host <i> address.
Example: DirectHosts/Host-0 = "localhost"
DirectHosts/Host-<i>/Port Yes Trying direct connection to host <i> port.
Example: DirectHosts/Host-0/Port = "2022
DiscoverHost/Service Yes Trying discover connection to service.
Example: DiscoverHost/Service = "My bean counter"
DiscoverHost/Status   Resolv status.
DiscoverHost/Host   Address and port of the discovered Host.
Request Yes Connection request, normally is "idle".
Use combobox to select wanted request.
Status   Connection status
UsingHost   Address and port of the connected Host.

 

This

Is the remote control for the advertised host.

Parameter pathEditableDescription
Service Yes Requested advertise service name. Changing this will also update current advertise.
Example: Service = "My bean counter"
UsingService   Currently advertised service name.
Host   Address and port of the advertised host
Interfaces   List of network interfaces in this host.
Interfaces/Listen   Can be "Any" or the specific interface this host listen to.