Gio.ProxyAddressEnumerator¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gio.SocketAddressEnumerator (3), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
Virtual Methods¶
| Inherited: | Gio.SocketAddressEnumerator (3), GObject.Object (7) | 
|---|
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| connectable | Gio.SocketConnectable | r/w/co | The connectable being enumerated. | 
| default-port | int | r/w/co | The default port to use if uri does not specify one | 
| proxy-resolver | Gio.ProxyResolver | r/w/c | The proxy resolver to use. | 
| uri | str | r/w/co | The destination URI, use none:// for generic socket | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent_instance | Gio.SocketAddressEnumerator | r | 
Class Details¶
- 
class Gio.ProxyAddressEnumerator(**kwargs)¶
- Bases: - Gio.SocketAddressEnumerator- Abstract: - No - Structure: - Gio.ProxyAddressEnumeratorClass- Gio.ProxyAddressEnumeratoris a wrapper around- Gio.SocketAddressEnumeratorwhich takes the- Gio.SocketAddressinstances returned by the- Gio.SocketAddressEnumeratorand wraps them in- Gio.ProxyAddressinstances, using the given- Gio.ProxyAddressEnumerator- :proxy-resolver.- This enumerator will be returned (for example, by - Gio.SocketConnectable.enumerate()) as appropriate when a proxy is configured; there should be no need to manually wrap a- Gio.SocketAddressEnumeratorinstance with one.
Property Details¶
- 
Gio.ProxyAddressEnumerator.props.connectable¶
- Name: - connectable- Type: - Gio.SocketConnectable- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The connectable being enumerated. 
- 
Gio.ProxyAddressEnumerator.props.default_port¶
- Name: - default-port- Type: - int- Default Value: - 0- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The default port to use if - Gio.ProxyAddressEnumerator- :uridoes not specify one.- New in version 2.38.