コード例 #1
0
    // Initialize the ubiiClient, serviceClient and topicDataClient
    public async Task Initialize()
    {
        netmqServiceClient = new NetMQServiceClient(host, port);
        await InitServerSpec();
        await InitClientReg();

        InitTopicDataClient();
        //await InitTestDe<vices(); // Initialize some test devices for demonstration purposes, thus commented out
    }
コード例 #2
0
    // Initialize the ubiiClient, serviceClient and topicDataClient
    public async Task Initialize()
    {
        netmqServiceClient = new NetMQServiceClient(host, port);
        await InitServerSpec();

        Debug.Log("ServerSpecs: " + serverSpecification);
        await InitClientReg();

        InitTopicDataClient();
    }
コード例 #3
0
    // Initialize the ubiiClient, serviceClient and topicDataClient
    public async Task <Client> Initialize(Ubii.Clients.Client clientSpecs)
    {
        netmqServiceClient = new NetMQServiceClient(host, port);
        await InitServerSpec();

        //Debug.Log("ServerSpecs: " + serverSpecification);
        bool success = await InitClientRegistration(clientSpecs);

        InitTopicDataClient();

        return(clientSpecification);
    }