getCallback method

T getCallback()

Retrieves the callback function associated with the connection event.

Returns the callback function.

Implementation

T getCallback() {
  return this.callback;
}