Sends a network message created by CreateMessage to a given client.
procedure SendMessage(const Client: TAgkNetworkClient; const Message: IAgkOutgoingNetworkMessage);
Parameters |
Description |
const Client: TAgkNetworkClient |
The client to send the message to, or nil to send to all connected clients (except the sender). |
const Message: IAgkOutgoingNetworkMessage |
The message to send. |
Set Client to nil to send to all connected clients (except the sender). Otherwise if the client does not exist an error will be generated. This method will delete message.
Copyright (c) 2012. All rights reserved.
|