Sign in Join
FPDoc Onlineexperiment

TSingleInstanceReceivedCustomMessage procedure type

In unit AdvancedSingleInstance

Callback for OnServerReceivedCustomRequest event.

Declaration

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

Arguments

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 OnServerReceivedCustomRequest event. It carries the information received when the server receives a custom message.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.