Schnittstelle ProxyInterface.OnConnect

Umschließende Klasse:
ProxyInterface
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface ProxyInterface.OnConnect
  • Methodendetails

    • onConnect

      IOStream onConnect(CallbackHandler __self, @Nonnull Proxy proxy, @Nonnull IOStream connection, @Nonnull ProxyAddress proxy_address, @Nullable Cancellable cancellable)
      Parameter:
      proxy - a #GProxy
      connection - a #GIOStream
      proxy_address - a #GProxyAddress
      cancellable - a #GCancellable
      Gibt zurück:
      a #GIOStream that will replace @connection. This might be the same as @connection, in which case a reference will be added.