Package org.gnome.gio
Enum Class DBusMessageHeaderField
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<DBusMessageHeaderField>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum DBusMessageHeaderField
extends Enum<DBusMessageHeaderField>
implements Enumeration
Header fields used in
GDBusMessage
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe name the message is intended for.The name of the error that occurred.The interface name.Not a valid header field.The method or signal name.The number of UNIX file descriptors that accompany the message.The object path.The serial number the message is a reply to.Unique name of the sender of the message (filled in by the bus).The signature of the message body. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the DBusMessageHeaderField classint
getValue()
Get the numeric value of this enumstatic DBusMessageHeaderField
of
(int value) Create a new DBusMessageHeaderField for the provided valuestatic DBusMessageHeaderField
Returns the enum constant of this class with the specified name.static DBusMessageHeaderField[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID
Not a valid header field. -
PATH
The object path. -
INTERFACE
The interface name. -
MEMBER
The method or signal name. -
ERROR_NAME
The name of the error that occurred. -
REPLY_SERIAL
The serial number the message is a reply to. -
DESTINATION
The name the message is intended for. -
SENDER
Unique name of the sender of the message (filled in by the bus). -
SIGNATURE
The signature of the message body. -
NUM_UNIX_FDS
The number of UNIX file descriptors that accompany the message.
-
-
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 DBusMessageHeaderField 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
-