Class LogOffWorkerMessage
- Namespace
- Acuit.Pinpoint.Workstation.Messaging
- Assembly
- Acuit.Pinpoint.Workstation.Abstractions.dll
The message raised by the IMessenger service when the operator initiates logging off.
public class LogOffWorkerMessage : WorkstationRequestMessage<Task<bool>>, IWorkstationRequestMessage
- Inheritance
-
LogOffWorkerMessage
- Implements
- Inherited Members
Remarks
By default, Acuit Pinpoint Workstation will handle this message when a worker is logged on by attempting to log off the worker. If no worker is logged on, Acuit Pinpoint Workstation will ignore this message.
The message Response will contain a task object representing the asynchronous operation. Once the operation completes, the Result property on the task object contains true if the worker log off succeeded; otherwise, it will contain false (e.g., a unit is at the station and something like a test in progress prevents the unit from being released).
A plug-in can customize the default behavior by registering a recipient for this message. To suppress the default behavior, the plug-in should use Reply(T) to set the response to the message.
A plug-in can emulate the operator action that this message represents by sending this message.
Constructors
LogOffWorkerMessage()
public LogOffWorkerMessage()