OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
TServiceManager Notifications

The TServiceManager manages the service database GetXbyY() functions.

You can use it, for example, to specify a service name, such as "ftp", and retrieve the port associated with that service.

The class TServiceManager supports blocking and non-blocking calls, and it uses notifications to signal that a non-blocking call has completed.

You can let TServiceManager receive the notification itself, whereby you can call the GetServiceRequestCompleted() function to see if that request has completed. Otherwise, you can tell the TServiceManager to notify a given TWindow (which you supply) when the request is completed. In either case, you can call the CancelServiceRequest() function to cancel the pending asynchronous request.