Show / Hide Table of Contents

Interface IRoboDKEventSource

Namespace:RoboDk.API
Assembly: RoboDkApi.dll
Syntax
公共接口IRoboDKEventSource

Properties

|Improve this Doc View Source

EventProtocolVersion

RoboDK Event protocol version.

Declaration
int EventProtocolVersion { get; }
Property Value
Type 描述
int

Methods

|Improve this Doc View Source

Close()

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

Declaration
void Close()
|Improve this Doc View Source

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.

Declaration
EventResult WaitForEvent(int timeout = 1000)
Parameters
Type Name 描述
int timeout
Returns
Type 描述
EventResult

Event received from RoboDK.

  • Improve this Doc
  • View Source
In This Article
Back to topCopyright © 2015-RoboDK Inc.