TRODiscoveryServer
From RemObjects Software
This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.
Overview
This class implements the server side of the local network server discovery infrastructure in RemObjects SDK.
File
- uRODiscovery
Declaration
TRODiscoveryServer = class(TROCustomDiscoveryServer);
Hierarchy
- TROComponent
- TROCustomDiscoveryServer
- TRODiscoveryServer
- TROCustomDiscoveryServer
Properties
| | | |
|---|---|---|
| ServiceList | TStrings | The list of Services that should be made available for discovery. This is a simple string list of names that the server will react to when being probed.
In addition to this list, the SupportRegisteredServerClasses property controls if all RemObjects SDK service classes registered within the server will also be automatically discoverable. |
| SupportRegisteredServerClasses | Boolean | Controls if all RemObjects SDK Service classes registered within the server will automatically be discoverable (true) or not (false). If set to false, only the service names manually specified in the ServiceList property will be discoverable. It is of course possible to manually add a subset of the registered services to ServiceList, if desired. |
Events
| | |
|---|---|
| OnServiceFound | This event is fired when a Service probed for by a client was found on the local server.The event gives the opportunity to stop the Service from being returned as available, on a case by case basis. Also, any user-defined TRODiscoveryOptions descendant class passed from the client is available in the event for inspection, and (possibly different) TRODiscoveryOption can be returned to the server. Using this event, the discovery server can take more detailed control over what Services it declares as available. For example:
The client would only receive responses from those servers that currently are available.The "Service Discovery" sample application included with the RemObjects SDK illustrates this by introducing a fictitious "Server Load" value. |
See Also
Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)
Lists — Glossary — Features — How To — Components — Tools — Samples — Articles — Architecture — Issues
Categories: Text | RemObjects SDK | Architecture | Class | Component | Delphi
