LemurConnection:
Filter:
SCLemurLib/Classes (extension) | Lemur

LemurConnection
ExtensionExtension

The LemurConnection class provides a communication access for the LemurClient to communicate via the nescessary 2 socket connections the Lemur app listens to.

Description

The LemurConnection class provides a communication access for the LemurClient to communicate via the nescessary 2 socket connections the Lemur app listens to.

There are 2 messages possible: Editor messages (XML via TCP) and OSC messages (via UDP).

LemurConnection instances are instantiated and managed by the LemurConnectionPool and is used by the LemurClient instance. The LemurClient instances sends, with the help of the LemurConnection, messages to the remote Lemur app.

So far I know the Lemur server ports are fixed. However when this is not the case your can override the default classvars in the startup.csd file (examples section).

Class Methods

.new

Make a new LemurConnection.

Returns:

A new instance.

.defaultOscPort

Gets or sets the default port where Lemur listens to OSC messages.

.defaultEditorPort

Gets or sets the default port where Lemur listens to TCP editor XML messages.

.defaultRemoteIP

Gets or sets the IP address of the device that runs Lemur you can set as the default.

Instance Methods

.connect

.disconnect

.editorPort

Gets or sets the editor port.

.oscPort

Gets or sets the OSC port.

.remoteIP

Gets or sets the connection IP address.

.uiEditorNetAddr

Gets the editor NetAddr instance.

.oscNetAddr

Gets the OSC NetAddr instance.

Examples