Class ProxyAddressEnumerator

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class ProxyAddressEnumerator extends SocketAddressEnumerator

GProxyAddressEnumerator is a wrapper around SocketAddressEnumerator which takes the SocketAddress instances returned by the SocketAddressEnumerator and wraps them in ProxyAddress instances, using the given Gio.ProxyAddressEnumerator:proxy-resolver.

This enumerator will be returned (for example, by SocketConnectable.enumerate()) as appropriate when a proxy is configured; there should be no need to manually wrap a SocketAddressEnumerator instance with one.

  • Constructor Details

    • ProxyAddressEnumerator

      public ProxyAddressEnumerator(MemorySegment address)
      Create a ProxyAddressEnumerator instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • ProxyAddressEnumerator

      public ProxyAddressEnumerator()
      Create a new ProxyAddressEnumerator.
  • Method Details