Class RoleEnvironmentInterface

Hierarchy

Index

Methods

Methods

public addListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public clearStatus(callback: (error: any) => void)

Parameters

  • callback: (error: any) => void

public emit(event: string, args?: Array<any>): boolean

Parameters

  • event: string
  • args?: Array<any> optional

Returns

boolean

public getConfigurationSettings(callback: (error: any, settings: any) => void)

Parameters

  • callback: (error: any, settings: any) => void

public getCurrentRoleInstance(callback: (error: any, instance: any) => void)

Parameters

  • callback: (error: any, instance: any) => void

public getDeploymentId(callback: (error: any, id: string) => void)

Parameters

  • callback: (error: any, id: string) => void

public getLocalResources(callback: (error: any, resources: any) => void)

Parameters

  • callback: (error: any, resources: any) => void

public getRoles(callback: (error: any, roles: any) => void)

Parameters

  • callback: (error: any, roles: any) => void

public isAvailable(callback: (error: any, available: boolean) => void)

Parameters

  • callback: (error: any, available: boolean) => void

public isEmulated(callback: (error: any, emulated: boolean) => void)

Parameters

  • callback: (error: any, emulated: boolean) => void

public listeners(event: string): Array<Function>

Parameters

  • event: string

Returns

Array<Function>

public on(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public once(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public removeAllListeners(event?: string): EventEmitter

Parameters

  • event?: string optional

Returns

EventEmitter

public removeListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public requestRecycle(callback: (error: any) => void)

Parameters

  • callback: (error: any) => void

public setMaxListeners(n: number)

Parameters

  • n: number

public setStatus(roleInstanceStatus: any, expirationUtc: any, callback: (error: any) => void)

Parameters

  • roleInstanceStatus: any
  • expirationUtc: any
  • callback: (error: any) => void