Skip to content

TSingleInstanceReceivedCustomMessage

Callback for OnServerReceivedCustomRequest event.

Declaration

Source position: advancedsingleinstance.pas line 40

type
  TSingleInstanceReceivedCustomMessage = procedure
                                                 (Sender: TBaseSingleInstance; 
                                                 MsgID: Integer; 
                                                 MsgType: Integer; 
                                                 MsgData: TStream)
                                                  of object;

Arguments

Name Description
Sender Normally the TAdvancedSingleInstance instance.
MsgID Message ID as sent by the client.
MsgType Type of message as sent by the client.
MsgData Payload message of the data.

Description

TSingleInstanceReceivedCustomMessage is the signature of the TAdvancedSingleInstance.OnServerReceivedCustomRequest event. It carries the information received when the server receives a custom message.

See also

Name Description
TAdvancedSingleInstance.OnServerReceivedCustomRequest Server event triggered when a custom request is received.