Method AttachToRunningWorker
- Namespace
- Scaleout.Client.GridDeployment
- Assembly
- Scaleout.Client.dll
AttachToRunningWorker(GridConnection, string, ushort, byte[], InvocationGridOptions)
Starts an Invocation Grid by signaling an already-running worker process.
public static void AttachToRunningWorker(GridConnection conn, string igName, ushort startupPort, byte[] startupParam, InvocationGridOptions options)
Parameters
connGridConnectionGridConnection to the local ScaleOut service.
igNamestringName of the Invocation Grid.
startupPortushortNetwork port used by the running worker process, used by the ScaleOut service to signal the worker that the IG is starting.
startupParambyte[]Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.
optionsInvocationGridOptionsAn object that configures the behavior of this invocation grid.
AttachToRunningWorker(GridConnection, string, ushort, byte[])
Starts an Invocation Grid by signaling an already-running worker process.
public static void AttachToRunningWorker(GridConnection conn, string igName, ushort startupPort, byte[] startupParam)
Parameters
connGridConnectionGridConnection to the local ScaleOut service.
igNamestringName of the Invocation Grid.
startupPortushortNetwork port used by the running worker process, used by the ScaleOut service to signal the worker that the IG is starting.
startupParambyte[]Optional, arbitrary payload that is made available to the Invocation Grid worker process when it starts up.