MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Occurs when the client sends a stream or its successive portion.
type TMsgOnSendStream = procedure (const ToUserID,
StreamID: Cardinal;
FullSize: Int64;
BlockSize, BlockNo, Blocks: Integer) of object;
property OnSendStream: TMsgOnSendStream;
Description
OnSendStream occurs when the client sends a stream or its following portion.
ToUserID is an unique idetifier of a recepient, client or server.
StreamID is a unique identifier of the stream assigned by the server (or receiving client in case of direct sending).
Blocks - number of blocks the stream will be split in transmission.
BlockSize - maximum size (in bytes) of one block (latest block can be less).
You can send message to client using SendStream method.
|