Table of Contents

OIL2 Class Standard.AnnounceServices


class Standard . AnnounceServices {
        oid     registry;
        assoc   serviceTable;
        set     subscriptions;
inherits from Object;

DESCRIPTION

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.

METHODS


Standard.AnnounceServices:create

AnnounceServices:create()

Method Description

Takes no arguments.


Standard.AnnounceServices:subscribeToRegistrations

AnnounceServices:subscribeToRegistrations(oid client, optional any servName, optional int32 dumpCurrent)

Method Description

Add notifications when new services are imported.


Standard.AnnounceServices:unsubscribeToRegistrations

AnnounceServices:unsubscribeToRegistrations(oid client, optional any servName)

Method Description

Inverse of subscribeToRegistrations.