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.SocketAddressEnumeratorAbstract: No Structure: Gio.ProxyAddressEnumeratorClassGio.ProxyAddressEnumeratoris a wrapper aroundGio.SocketAddressEnumeratorwhich takes theGio.SocketAddressinstances returned by theGio.SocketAddressEnumeratorand wraps them inGio.ProxyAddressinstances, using the givenGio.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 aGio.SocketAddressEnumeratorinstance with one.
Property Details¶
-
Gio.ProxyAddressEnumerator.props.connectable¶ Name: connectableType: Gio.SocketConnectableDefault Value: NoneFlags: READABLE,WRITABLE,CONSTRUCT_ONLYThe connectable being enumerated.
-
Gio.ProxyAddressEnumerator.props.default_port¶ Name: default-portType: intDefault Value: 0Flags: READABLE,WRITABLE,CONSTRUCT_ONLYThe default port to use if
Gio.ProxyAddressEnumerator:uridoes not specify one.New in version 2.38.