跳到主要内容

health.msg_collect

声明

public void msg_collect(string cmd, int len)

参数

参数名描述

作用

该接口用来更新一个ro对象

使用方式

HealthD.gs

import gs.lang.*;
import gs.util.*;
import pkg.gtest;

import pkg.health;

void create()
{
load_static(health, this_domain());
}

void destruct()
{
health.end();
}

public mixed msg_collect(string cmd, int len)
{
health.msg_collect(cmd, len);
return "success";
}

返回文档