Discuss this help topic in SecureBlackbox Forum

TElCustomSimpleSSLClient.MessageLoop

TElCustomSimpleSSLClient     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


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 TElSimpleSSLClient when the component needs to process Windows messages or give away the time slice to application. Return true if SSL 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 TElCustomSimpleSSLClient waits for a synchronous server response. If this property is set to nil (null, Nothing), TElCustomSimpleSSLClient uses its internal message loop to peek and dispatch messages.

Discuss this help topic in SecureBlackbox Forum