SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

Accept Event

This event is fired when new incoming connection is accepted.

Syntax

public open class DefaultSftpserverEventListener : SftpserverEventListener {
  ...
  public override fun accept(e: SftpserverAcceptEvent) {}
  ...
}

public class SftpserverAcceptEvent {
  val remoteAddress: String?
  val remotePort: Int
  var accept: Boolean
}

Remarks

This event is fired by the component before a new incoming connection is accepted. RemoteAddress contains the IP address of the connecting client. Use the Accept parameter to either accept, or reject the connection.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Kotlin Edition - Version 20.0 [Build 8063]