hprose::getdata PHP Method

getdata() public static method

public static getdata ( )
    public static function getdata()
    {
        $hprose_config = Yaf_Registry::get("config")->hprose->toArray();
        $client = new Client("tcp://" . $hprose_config['ServerIp'] . ":" . $hprose_config['port'], false);
        return $client->zys("zys");
    }