Discuss this help topic in SecureBlackbox Forum

TElSSHServer.OnServerForwardingCancel

TElSSHServer     See also     


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


Cancels server forwarding that has been requested earlier.

Declaration

[C#/Java]
    event TSSHServerForwardingCancelEvent OnServerForwardingCancel;
    delegate void TSSHServerForwardingCancelEvent(Object Sender, string Address, int Port);

[VB.NET]
    Event OnServerForwardingCancel As TSSHServerForwardingCancelEvent
    Delegate Sub TSSHServerForwardingCancelEvent(ByVal Sender As Object, ByVal Address As String, ByVal Port As Integer)

[Pascal]
    property OnServerForwardingCancel : TSSHServerForwardingCancelEvent;
    TSSHServerForwardingCancelEvent = procedure(Sender: TObject; const Address: string; Port : integer) of object;

[C++]
    void get_OnServerForwardingCancel(TSSHServerForwardingCancelEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnServerForwardingCancel(TSSHServerForwardingCancelEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHServerForwardingCancelEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcAddress, int32_t szAddress, int32_t Port);

[PHP]
    TSSHServerForwardingCancelEvent|callable|NULL get_OnServerForwardingCancel()
    void set_OnServerForwardingCancel(TSSHServerForwardingCancelEvent|callable|NULL $Value)
    callable TSSHServerForwardingCancelEvent(TObject $Sender, string $Address, integer $Port)

Parameters

  • Address - address for which forwarding has been requested (for instance "0.0.0.0")
  • Port - port that has been reserved
  • pcAddress - address for which forwarding has been requested (for instance "0.0.0.0")
  • szAddress - the length of pcAddress.

Description

    When this event is fired the server can close port opened in responce to OnServerForwardingRequest event and expect this forwarding to be closed.

Discuss this help topic in SecureBlackbox Forum