Package ch.bailu.gtk.gio
Klasse ProxyAddress
- Alle implementierten Schnittstellen:
PointerInterface
A [class@Gio.InetSocketAddress] representing a connection via a proxy server.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungProxyAddress
(InetAddress inetaddr, int port, Str protocol, Str dest_hostname, int dest_port, Str username, Str password) Creates a new #GProxyAddress for @inetaddr with @protocol that should
tunnel through @dest_hostname and @dest_port.ProxyAddress
(InetAddress inetaddr, int port, String protocol, String dest_hostname, int dest_port, String username, String password) Creates a new #GProxyAddress for @inetaddr with @protocol that should
tunnel through @dest_hostname and @dest_port.ProxyAddress
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungImplements interfaceSocketConnectable
.static ClassHandler
Gets @proxy's destination hostname; that is, the name of the host
that will be connected to via the proxy, not the name of the proxy
itself.int
Gets @proxy's destination port; that is, the port on the
destination host that will be connected to via the proxy, not the
port number of the proxy itself.Gets the protocol that is being spoken to the destination
server; eg, "http" or "ftp".static int
static long
static TypeSystem.TypeSize
Gets @proxy's password.Gets @proxy's protocol. eg, "socks" or "http"static long
static TypeSystem.TypeSize
getUri()
Gets the proxy URI that @proxy was constructed from.Gets @proxy's username.Von Klasse geerbte Methoden ch.bailu.gtk.gio.InetSocketAddress
getAddress, getFlowinfo, getPort, getScopeId, newFromStringInetSocketAddress, newFromStringInetSocketAddress
Von Klasse geerbte Methoden ch.bailu.gtk.gio.SocketAddress
getFamily, getNativeSize, newFromNativeSocketAddress, toNative
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
ProxyAddress
-
ProxyAddress
public ProxyAddress(@Nonnull InetAddress inetaddr, int port, @Nonnull Str protocol, @Nonnull Str dest_hostname, int dest_port, @Nullable Str username, @Nullable Str password) Creates a new #GProxyAddress for @inetaddr with @protocol that should
tunnel through @dest_hostname and @dest_port.
(Note that this method doesn't set the #GProxyAddress:uri or
#GProxyAddress:destination-protocol fields; use g_object_new()
directly if you want to set those.)- Parameter:
inetaddr
- The proxy server #GInetAddress.port
- The proxy server port.protocol
- The proxy protocol to support, in lower case (e.g. socks, http).dest_hostname
- The destination hostname the proxy should tunnel to.dest_port
- The destination port to tunnel to.username
- The username to authenticate to the proxy server (or %NULL).password
- The password to authenticate to the proxy server (or %NULL).
-
ProxyAddress
public ProxyAddress(@Nonnull InetAddress inetaddr, int port, String protocol, String dest_hostname, int dest_port, String username, String password) Creates a new #GProxyAddress for @inetaddr with @protocol that should
tunnel through @dest_hostname and @dest_port.
(Note that this method doesn't set the #GProxyAddress:uri or
#GProxyAddress:destination-protocol fields; use g_object_new()
directly if you want to set those.)- Parameter:
inetaddr
- The proxy server #GInetAddress.port
- The proxy server port.protocol
- The proxy protocol to support, in lower case (e.g. socks, http).dest_hostname
- The destination hostname the proxy should tunnel to.dest_port
- The destination port to tunnel to.username
- The username to authenticate to the proxy server (or %NULL).password
- The password to authenticate to the proxy server (or %NULL).
-
-
Methodendetails
-
getClassHandler
-
getDestinationHostname
Gets @proxy's destination hostname; that is, the name of the host
that will be connected to via the proxy, not the name of the proxy
itself.- Gibt zurück:
- the @proxy's destination hostname
-
getDestinationPort
public int getDestinationPort()Gets @proxy's destination port; that is, the port on the
destination host that will be connected to via the proxy, not the
port number of the proxy itself.- Gibt zurück:
- the @proxy's destination port
-
getDestinationProtocol
Gets the protocol that is being spoken to the destination
server; eg, "http" or "ftp".- Gibt zurück:
- the @proxy's destination protocol
-
getPassword
Gets @proxy's password.- Gibt zurück:
- the @proxy's password
-
getProtocol
Gets @proxy's protocol. eg, "socks" or "http"- Gibt zurück:
- the @proxy's protocol
-
getUri
Gets the proxy URI that @proxy was constructed from.- Gibt zurück:
- the @proxy's URI, or %NULL if unknown
-
getUsername
Gets @proxy's username.- Gibt zurück:
- the @proxy's username
-
asSocketConnectable
Implements interfaceSocketConnectable
. Call this to get access to interface functions.- Setzt außer Kraft:
asSocketConnectable
in KlasseInetSocketAddress
- Gibt zurück:
SocketConnectable
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-