ArchitectureDiagramHandle

public abstract class ArchitectureDiagramHandle

For asynchronously receiving architecture diagrams.

Constructors

ArchitectureDiagramHandle

public ArchitectureDiagramHandle(APIClient client)

ArchitectureDiagramHandle

protected ArchitectureDiagramHandle(APIClient client, long objectId)

Internal constructor

Methods

cancel

public void cancel()

Cancels the asynchronous API call, causing the callback to be called immediately.

finalize

protected void finalize()

getObjectId

public long getObjectId()

Internal method

getOrCreate

public static ArchitectureDiagramHandle getOrCreate(APIClient client, long objectId)

Internal method

handleDiagram

public abstract void handleDiagram(io.cocotec.coco.platform.coco.ArchitectureDiagram diagram)

A callback which must be fast, because all calls to handle_diagram are performed in one dedicated thread (except for some error cases, where the call is performed synchronously).