Discuss this help topic in SecureBlackbox Forum


TElSSHServer     See also     

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

Cancels server forwarding that has been requested earlier.


    event TSSHServerForwardingCancelEvent OnServerForwardingCancel;
    delegate void TSSHServerForwardingCancelEvent(Object Sender, string Address, int Port);

    Event OnServerForwardingCancel As TSSHServerForwardingCancelEvent
    Delegate Sub TSSHServerForwardingCancelEvent(ByVal Sender As Object, ByVal Address As String, ByVal Port As Integer)

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

    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);

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

    TSSHServerForwardingCancelEvent getOnServerForwardingCancel();
    void setOnServerForwardingCancel(TSSHServerForwardingCancelEvent Value);
    TSSHServerForwardingCancelEvent.Callback OnServerForwardingCancel = new TSSHServerForwardingCancelEvent.Callback() {
        public void TSSHServerForwardingCancelEventCallback(TObject Sender, String Address, int Port) {


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


    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