Discuss this help topic in SecureBlackbox Forum

TElIMAPClient.OnLog

TElIMAPClient     


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


This event reports a new entry in the log of the protocol.

Declaration

[C#]
    event TSBIMAPLogEvent OnLog;
    delegate void TSBIMAPLogEvent(Object Sender, TSBIMAPLogDirection Direction, string Info);

[VB.NET]
    Event OnLog As TSBIMAPLogEvent
    Delegate Sub TSBIMAPLogEvent(ByVal Sender As Object, ByVal Direction As TSBIMAPLogDirection, ByVal Info As String)

[Pascal]
    event OnLog : TSBIMAPLogEvent delegate FOnLog;
    TSBIMAPLogEvent = procedure(Sender : TObject; Direction : TSBIMAPLogDirection; const Info : string) of object;

[C++]
    void get_OnLog(TSBIMAPLogEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnLog(TSBIMAPLogEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBIMAPLogEvent)(void * _ObjectData, TObjectHandle Sender, TSBIMAPLogDirectionRaw Direction, const char * pcInfo, int32_t szInfo);

[PHP]
    TSBIMAPLogEvent|callable|NULL get_OnLog()
    void set_OnLog(TSBIMAPLogEvent|callable|NULL $Value)
    callable TSBIMAPLogEvent(TObject $Sender, integer $Direction, string $Info)

[Java]
    TSBIMAPLogEvent getOnLog();
    void setOnLog(TSBIMAPLogEvent Value);
    TSBIMAPLogEvent.Callback OnLog = new TSBIMAPLogEvent.Callback() {
        public void TSBIMAPLogEventCallback(TObject Sender, TSBIMAPLogDirection Direction, String Info) {
            //...
        }
    }

Parameters

  • Direction - specifies whether the command is sent or received.
  • Info - contains associated command info.
  • pcInfo - contains associated command info.
  • szInfo - specifies the number of bytes in pcInfo.

TSBIMAPLogDirection values

Description

    This event is fired when a new command is sent to, or received from the server.

Discuss this help topic in SecureBlackbox Forum