RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.SupportCallbacks Property

Determines whether the streamed connection component can handle callbacks in the application server interface.

Pascal
property SupportCallbacks: Boolean;
C++
__property Boolean SupportCallbacks;

Use SupportCallbacks to indicate whether the connection component can marshal callback functions in the application server's interface. When SupportCallbacks is true, the connection component can marshal calls from the application server to the client application over an interface supplied as a callback. 

For TSocketConnection, callbacks are optional. Set SupportCallbacks to true if you are using callbacks as part of the application server's interface. When SupportCallbacks is true, the socket connection component requires WinSock2. Set SupportCallbacks to false if you are not using callback functions and want to eliminate the dependency on WinSock2. 

TWebConnection can't support callback functions. It initializes SupportCallbacks to false in the constructor and never changes this value. 

 

Send 

Extending the Interface of the Application Server

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!