class %Net.Bonjour extends %Library.RegisteredObject

Provides access to the Bonjour service registration protocol

Method Inventory (Including Private)


private method %OnNew(initvalue As %RawString) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
Returns an integer handle to a Bonjour TXT Record
classmethod IsSupported() as %Boolean [ Language = objectscript ]
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 [ Language = objectscript ]
Registers a service with Bonjour

Inherited Members

Inherited Methods (Including Private)