Package ola.proto.Ola

Examples of ola.proto.Ola.UID


     * @param device The id of the device
     * @param estaId the UID to set.
     * @return true if call succeeded.
     */
    public boolean setSourceUID(int device, int estaId) {
        UID request = UID.newBuilder()
                .setDeviceId(device)
                .setEstaId(estaId)
                .build();
        return callRpcMethod("SetSourceUID", request) != null;
    }
View Full Code Here


        assertTrue(client.sendTimeCode(TimeCodeType.TIMECODE_DF, 10, 1, 1, 1));
    }

    @Test
    public void testSendRDMCommand() {
        UID id = UID.newBuilder()
                .setDeviceId(1)
                .setEstaId(9)
                .build();
        RDMResponse reply = client.sendRDMCommand(id, 0, 0, false, false, 0, new short[] {1,2,3});
        assertNotNull(reply);
View Full Code Here

TOP

Related Classes of ola.proto.Ola.UID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.