Datasnap.DSServer.TDSServer.UnregisterChannelCallback

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UnregisterChannelCallback(const ClientId: string;
const SecurityToken: string;
Owner: Boolean = false); overload;
procedure UnregisterChannelCallback(const ClientId: string;
const CallbackId: string; const SecurityToken: string); overload;
procedure UnregisterChannelCallback(Tunnel: TDSCallbackTunnel; DoBroadcast: Boolean = True); overload;

C++

void __fastcall UnregisterChannelCallback(const System::UnicodeString ClientId, const System::UnicodeString SecurityToken, bool Owner = false)/* overload */;
void __fastcall UnregisterChannelCallback(const System::UnicodeString ClientId, const System::UnicodeString CallbackId, const System::UnicodeString SecurityToken)/* overload */;
void __fastcall UnregisterChannelCallback(TDSCallbackTunnel* Tunnel, bool DoBroadcast = true)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DSServer.pas
Datasnap.DSServer.hpp
Datasnap.DSServer TDSServer

Description

Unregisters a client channel callback.

The UnregisterChannelCallback method unregisters a channel callback with a given name specified by the ChannelName parameter. UnregisterChannelCallback has two overloads. Call the first overload with the ChannelName, ClientId, and Owner parameters. The second overload must be called with the ChannelName, ClientId, and CallbackId parameters. The second overload unregisters a client callback and no notifications or broadcasts are possible after unregistering the client callback.

ChannelName represents the name of the channel callback.

ClientId specifies the identifier of the client channel.

CallbackId specifies the identifier of the channel callback.

Owner specifies whether the callback's items are freed(True) or deleted (False).

See Also