com.onlineobject.objectnet Namespace

NetworkThread Constructor

Initializes a new instance of the NetworkThread class with the specified run action and optional onTerminate action.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public NetworkThread(

	Action run,

	Action onTerminate

)

Parameters

run
Type: Action
The action to be executed by the thread.
onTerminate
Type: Action
The action to be performed when the thread is terminated.