writeTo method

void writeTo(
  1. TeleportObjectWriter scope
)

Implementation

void writeTo(TeleportObjectWriter scope) {
    scope.writeInt64Field(fieldIdTotalAllocationsCreated, totalAllocationsCreated);
    scope.writeFloat64Field(fieldIdManagedMemoryUsedMb, managedMemoryUsedMb);
    scope.writeFloat64Field(fieldIdCpuUsagePercentage, cpuUsagePercentage);
    scope.writeStringField(fieldIdMemoryInfo, memoryInfo);
    scope.writeInt32Field(fieldIdChannelBindingCount, channelBindingCount);
    scope.writeInt32Field(fieldIdActiveConnectionCount, activeConnectionCount);
    scope.writeInt32Field(fieldIdActiveAllocationCount, activeAllocationCount);
    scope.writeFloat64Field(fieldIdProcessMemoryUsedMb, processMemoryUsedMb);
    scope.writeStringField(fieldIdTime, time);
}