DiagnosticConsumer

public abstract class DiagnosticConsumer

A handler of diagnostics.

Constructors

DiagnosticConsumer

public DiagnosticConsumer(APIClient client)

DiagnosticConsumer

protected DiagnosticConsumer(APIClient client, long objectId)

Internal constructor

Methods

finalize

protected void finalize()

getObjectId

public long getObjectId()

Internal method

getOrCreate

public static DiagnosticConsumer getOrCreate(APIClient client, long objectId)

Internal method

handleDiagnostic

public abstract void handleDiagnostic(io.cocotec.coco.platform.coco.Diagnostic diagnostic)

Handles a single diagnostic.