Table of Contents

Constructor CadRemoteServer

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CadRemoteServer(ICadRemoteHost, ICadRemoteDispatcher)

Makes a server for an app; nothing listens until Start().

public CadRemoteServer(ICadRemoteHost host, ICadRemoteDispatcher dispatcher)

Parameters

host ICadRemoteHost

The app's drawings and their commands.

dispatcher ICadRemoteDispatcher

Runs work on the thread the drawings belong to.

Exceptions

ArgumentNullException

Thrown when the host or the dispatcher is null.