Class DelegateProxySelector

java.lang.Object
java.net.ProxySelector
org.kink_lang.kink.internal.net.DelegateProxySelector

public class DelegateProxySelector extends ProxySelector
ProxySelector implementation which delegates methods to Kink functions.
  • Constructor Details

    • DelegateProxySelector

      public DelegateProxySelector(FunVal selectFun, FunVal connectFailedFun)
      Makes a proxy selector which delegates methods to Kink functions.

      selectFun and connectFailedFun must belong to a same vm.

      Parameters:
      selectFun - the function which selector.
      connectFailedFun - the function which selector.
  • Method Details