MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Occurs when a new command arrives.
type TMsgOnReceiveCommand = procedure (
const FromID, Command: Cardinal;
const SendingDate,DeliveryDate: TDateTime;
) of object;
property OnReceiveCommand: TMsgOnReceiveCommand;
OnReceiveCommand occurs when the client receives a custom command.
FromID is an unique (at this server) ID of the sender, i.e. UserID or ServerID.
Command is an identifier of your command.
SendingDate - date and time when command was sent.
DeliveryDate - date and time when command was delivered.
Buffer is an additional binary data you can send with your command.
Size is a length of the Buffer in bytes.