Package org.gnome.gio
Enum Class SocketClientEvent
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<SocketClientEvent>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum SocketClientEvent
extends Enum<SocketClientEvent>
implements Enumeration
Describes an event occurring on a
GSocketClient
. See the
GSocketClient
::event signal for more details.
Additional values may be added to this type in the future.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe client is done with a particularGSocketConnectable
.The client has connected to a remote host.The client is connecting to a remote host (either a proxy or the destination server).The client has negotiated with the proxy server.The client is negotiating with a proxy to connect to the destination server.The client has completed a DNS lookup.The client is doing a DNS lookup.The client has performed a TLS handshake.The client is performing a TLS handshake. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the SocketClientEvent classint
getValue()
Get the numeric value of this enumstatic SocketClientEvent
of
(int value) Create a new SocketClientEvent for the provided valuestatic SocketClientEvent
Returns the enum constant of this class with the specified name.static SocketClientEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESOLVING
The client is doing a DNS lookup. -
RESOLVED
The client has completed a DNS lookup. -
CONNECTING
The client is connecting to a remote host (either a proxy or the destination server). -
CONNECTED
The client has connected to a remote host. -
PROXY_NEGOTIATING
The client is negotiating with a proxy to connect to the destination server. -
PROXY_NEGOTIATED
The client has negotiated with the proxy server. -
TLS_HANDSHAKING
The client is performing a TLS handshake. -
TLS_HANDSHAKED
The client has performed a TLS handshake. -
COMPLETE
The client is done with a particularGSocketConnectable
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new SocketClientEvent for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-