IRISLIB database
Bonjour Class Reference

Provides access to the Bonjour service registration protocol. More...

Inheritance diagram for Bonjour:
Collaboration diagram for Bonjour:

Public Member Functions

_.Library.Status OnNew (_.Library.RawString initvalue)
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Net.BonjourServiceReference Register (_.Library.String name, _.Library.String type, _.Library.Integer port, _.Net.BonjourTXTRecord txtRecord)
 Registers a service with Bonjour.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Static Public Member Functions

_.Library.Integer ConstructTXTRecord (_.Net.BonjourTXTRecord txtRecord)
 Returns an integer handle to a Bonjour TXT Record.
 
_.Library.Boolean IsSupported ()
 Returns true if Bonjour services are supported in this instance.
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

Provides access to the Bonjour service registration protocol.

Member Function Documentation

◆ OnNew()

_.Library.Status OnNew ( _.Library.RawString  initvalue)

This callback method is invoked by the <METHOD>New</METHOD> 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