TRVMediaServer.SendCmdToUser

<< Click to display table of contents >>

TRVMediaServer.SendCmdToUser

Sends a command to the client specified in AGUIDTo parameter.

function SendCmdToGUIDUser(Cmd: TRVCmd;
  AGUIDFrom, AGUIDTo: TGUID): Boolean;

This method is similar to SendCommandToGUID, but does not have a group parameter and it frees the command object itself.

Parameters

Cmd is a command to send. The method frees this object itself.

AGUIDFrom must be equal to GUIDMy property of the server (unless you want to simulate a command from another client).

AGUIDTo identifies the addressee (GUIDMy property of the client's receiver)

Return value

False if the command cannot be sent (for example, this user is not connected), True otherwise.

See also

SendCmdToGroup