class Standard . AnnounceServices {
oid registry;
assoc serviceTable;
set subscriptions;
} inherits from Object;
Many service providers register themselves as well-known services. Usually, these are declared to be local to the FARGOS/VISTA Object Management Environment in which the object resides; however, it is possible to declare a service as being public. The AnnounceServices class implements a facility that will automatically export registrations of such public services to other FARGOS/VISTA peers. It depends on the PeerRegistry service to operate; if a PeerRegistry object has not be created, the AnnounceServices object will automatically delete itself.
AnnounceServices:create()
Takes no arguments.
AnnounceServices:subscribeToRegistrations(oid client, optional any servName, optional int32 dumpCurrent)
Add notifications when new services are imported.
AnnounceServices:unsubscribeToRegistrations(oid client, optional any servName)
Inverse of subscribeToRegistrations.