Skip to content

TMessageQueueEvent

Event handler, executed when a message is detected on the queue.

Declaration

Source position: simpleipc.pp line 143

type
  TMessageQueueEvent = procedure(Sender: TObject; Msg: TIPCServerMsg)
                                of object;

Arguments

Name Description
Sender TSimpleIPCServer instance on which the message arrives.
Msg Message that arrived on the queue.

Description

TMessageQueueEvent is the signature of the event handler that is executed when a new message arrives on the server and the queue is full, and maxaction is ipcmoaError.

See also

Name Description
TSimpleIPCServer.OnMessageError Event called when a new message has arrived, and the queue is full.
TSimpleIPCServer Simple IPC server component.