Discuss this help topic in SecureBlackbox Forum
This event is fired when the component yields execution to the application.
Declaration
[C#]
event TElMessageLoopEvent MessageLoop;
delegate void TElMessageLoopEvent();
[VB.NET]
Event MessageLoop As TElMessageLoopEvent
Delegate Sub TElMessageLoopEvent()
[Pascal]
property MessageLoop : TElMessageLoopEvent;
TElMessageLoopEvent = function: boolean of object;
[C++]
void get_MessageLoop(TElMessageLoopEvent &pMethodOutResult, void * &pDataOutResult);
void set_MessageLoop(TElMessageLoopEvent pMethodValue, void * pDataValue);
typedef void (SB_CALLBACK *TElMessageLoopEvent)(void * _ObjectData);
[PHP]
TElMessageLoopEvent|callable|NULL get_MessageLoop()
void set_MessageLoop(TElMessageLoopEvent|callable|NULL $Value)
callable TElMessageLoopEvent()
[Java]
TElMessageLoopEvent getMessageLoop();
void setMessageLoop(TElMessageLoopEvent Value);
TElMessageLoopEvent.Callback MessageLoop = new TElMessageLoopEvent.Callback() {
public boolean TElMessageLoopEventCallback() {
//...
}
}
Description
This event is fired by the socket client when the component needs to process Windows messages or give away the time slice to application.
Return True if the client can continue, or False if blocking operation must be stopped.
Use this callback function if you wish to process all incoming messages yourself while TElBaseSocketClient waits for a synchronous server response.
If this property is set to nil (null, Nothing), the component uses its internal message loop to peek and dispatch messages.
Discuss this help topic in SecureBlackbox Forum