Interface BonjourService

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

public domain: string

public isLocal: boolean

public name: string

public socket: any

public type: string

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public fireEvent(name: string, event: Dictionary)

Parameters

public getBubbleParent(): boolean

Returns

boolean

public getDomain(): string

Returns

string

public getIsLocal(): boolean

Returns

boolean

public getName(): string

Returns

string

public getSocket(): any

Returns

any

public getType(): string

Returns

string

public publish(socket: any)

Parameters

  • socket: any

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public resolve(timeout: number)

Parameters

  • timeout: number

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setDomain(domain: string)

Parameters

  • domain: string

public setIsLocal(isLocal: boolean)

Parameters

  • isLocal: boolean

public setName(name: string)

Parameters

  • name: string

public setSocket(socket: any)

Parameters

  • socket: any

public setType(type: string)

Parameters

  • type: string

public stop()