Discuss this help topic in SecureBlackbox Forum


TElSSHTunnelConnection     See also     

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

This event is fired when the logical connection is closed


    event TSSHChannelCloseEvent OnClose;
    delegate void TSSHChannelCloseEvent(Object Sender, TSSHCloseType CloseType);

    Event OnClose As TSSHChannelCloseEvent
    Delegate Sub TSSHChannelCloseEvent(ByVal Sender As Object, ByVal CloseType As TSSHCloseType)

    property OnClose : TSSHChannelCloseEvent;
    TSSHChannelCloseEvent = procedure (Sender: TObject; CloseType : TSSHCloseType) of object;
    TSSHCloseType = (ctReturn, ctSignal, ctError);

    void get_OnClose(TSSHChannelCloseEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnClose(TSSHChannelCloseEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHChannelCloseEvent)(void * _ObjectData, TObjectHandle Sender, TSSHCloseTypeRaw CloseType);

    TSSHChannelCloseEvent|callable|NULL get_OnClose()
    void set_OnClose(TSSHChannelCloseEvent|callable|NULL $Value)
    callable TSSHChannelCloseEvent(TObject $Sender, integer $CloseType)

    TSSHChannelCloseEvent getOnClose();
    void setOnClose(TSSHChannelCloseEvent Value);
    TSSHChannelCloseEvent.Callback OnClose = new TSSHChannelCloseEvent.Callback() {
        public void TSSHChannelCloseEventCallback(TObject Sender, TSSHCloseType CloseType) {


  • CloseType (eCloseType) - specifies reason of connection closing



    This event is fired when the logical connection is closed. No more data should be sent to this connection after receiving this event.
    Note, that you don't need to destroy the instance of this class. It is destroyed automatically by the tunnel class to which this connection belongs.

See also:     OnData     OnError     OnExtendedData    

Discuss this help topic in SecureBlackbox Forum