Class: Gio::ProxyAddress
- Inherits:
-
InetSocketAddress
- Object
- SocketAddress
- InetSocketAddress
- Gio::ProxyAddress
- Defined in:
- (unknown)
Overview
Class structure for GProxy::Address.
Instance Method Summary collapse
-
#destination_hostname ⇒ String
The proxy destination hostname.
-
#destination_hostname=(destination_hostname) ⇒ String
The proxy destination hostname.
-
#destination_port ⇒ Integer
The proxy destination port.
-
#destination_port=(destination_port) ⇒ Integer
The proxy destination port.
-
#destination_protocol ⇒ String
The protocol being spoke to the destination host, or nil if the GProxy::Address doesn't know.
-
#destination_protocol=(destination_protocol) ⇒ String
The protocol being spoke to the destination host, or nil if the GProxy::Address doesn't know.
-
#initialize(inetaddr, port, protocol, dest_hostname, dest_port, username, password) ⇒ Gio::SocketAddress
constructor
Creates a new GProxy::Address for inetaddr with protocol that should tunnel through dest_hostname and dest_port.
-
#password ⇒ String
The proxy password.
-
#password=(password) ⇒ String
The proxy password.
-
#protocol ⇒ String
The proxy protocol.
-
#protocol=(protocol) ⇒ String
The proxy protocol.
-
#uri ⇒ String
The URI string that the proxy was constructed from (or nil if the creator didn't specify this).
-
#uri=(uri) ⇒ String
The URI string that the proxy was constructed from (or nil if the creator didn't specify this).
-
#username ⇒ String
The proxy username.
-
#username=(username) ⇒ String
The proxy username.
Methods inherited from InetSocketAddress
#address, #address=, #flowinfo, #flowinfo=, #port, #port=, #scope_id, #scope_id=
Methods inherited from SocketAddress
#family, #family=, #native_size, #to_native
Constructor Details
#initialize(inetaddr, port, protocol, dest_hostname, dest_port, username, password) ⇒ Gio::SocketAddress
Creates a new GProxy::Address for inetaddr with protocol that should tunnel through dest_hostname and dest_port.
(Note that this method doesn't set the GProxy::Address:uri or GProxy::Address:destination-protocol fields; use g_object_new() directly if you want to set those.)
Instance Method Details
#destination_hostname ⇒ String
The proxy destination hostname.
#destination_hostname=(destination_hostname) ⇒ String
The proxy destination hostname.
#destination_port ⇒ Integer
The proxy destination port.
#destination_port=(destination_port) ⇒ Integer
The proxy destination port.
#destination_protocol ⇒ String
The protocol being spoke to the destination host, or nil if the GProxy::Address doesn't know.
#destination_protocol=(destination_protocol) ⇒ String
The protocol being spoke to the destination host, or nil if the GProxy::Address doesn't know.
#password ⇒ String
The proxy password.
#password=(password) ⇒ String
The proxy password.
#protocol ⇒ String
The proxy protocol.
#protocol=(protocol) ⇒ String
The proxy protocol.
#uri ⇒ String
The URI string that the proxy was constructed from (or nil if the creator didn't specify this).
#uri=(uri) ⇒ String
The URI string that the proxy was constructed from (or nil if the creator didn't specify this).
#username ⇒ String
The proxy username.
#username=(username) ⇒ String
The proxy username.