InstanceNetworkState

public class InstanceNetworkState

A snapshot of the state of the network.

Fields

client

protected final APIClient client

handle

protected long handle

Constructors

InstanceNetworkState

protected InstanceNetworkState(APIClient client)

Internal constructor

Methods

fromProtobuf

public static InstanceNetworkState fromProtobuf(APIClient client, Out.CocoInstanceNetworkState inputValue)

Internal constructor

getHandle

public final long getHandle()

getThreadCount

public final int getThreadCount()

thread

public io.cocotec.coco.platform.coco.Thread thread(io.cocotec.coco.platform.coco.BehaviouralInstance instance)

toString

public String toString()