Table of Contents

Interface IRoboDKEventSource

Namespace
RoboDk.API
Assembly
RoboDkApi.dll
public interface IRoboDKEventSource

Properties

EventProtocolVersion

RoboDK Event protocol version.

int EventProtocolVersion { get; }

Property Value

int

Methods

Close()

Close Event Channel. An ObjectDisposedException will be thrown if WaitForEvent is called after closing the event channel.

void Close()

WaitForEvent(int)

Wait for a new RoboDK event. This function blocks until a new RoboDK event occurs. In case of a timeout EventType.NoEvent will be returned. For any other socket error the method re-throws the socket exception.

EventResult WaitForEvent(int timeout = 1000)

Parameters

timeout int

Returns

EventResult

Event received from RoboDK.