This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).


class %Net.Bonjour extends %Library.RegisteredObject

Provides access to the Bonjour service registration protocol

Method Inventory (Including Private)

Methods (Including Private)

private method %OnNew(initvalue As %CacheString) as %Status
This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status

classmethod ConstructTXTRecord(txtRecord As BonjourTXTRecord) as %Integer
Returns an integer handle to a Bonjour TXT Record
classmethod IsSupported() as %Boolean
Returns true if Bonjour services are supported in this instance
method Register(name As %String, type As %String, port As %Integer, txtRecord As BonjourTXTRecord = "") as BonjourServiceReference
Registers a service with Bonjour

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window