Object - lang.object : AbstractListener

Represent the listener shape that is used to provide values to services.

__start

()

returns error?

Handle listner start.

  • Return Type

    (error?)
  • error when fail to start, nil otherwise.

__gracefulStop

()

returns error?

Handle listener stop gracefully.

  • Return Type

    (error?)
  • error if __gracefulStop fails for some reason, nil otherwise.

__immediateStop

()

returns error?

Handle listener stop immediatly.

  • Return Type

    (error?)
  • error if __immediateStop fails for some reason, nil otherwise.

__attach

(service s, string? name)

returns error?

Handle attaching to service s.

Parameters

  • Return Type

    (error?)
  • error if attachment failes, nil othrwise.