Package org.freedesktop.dbus
Class Struct
- java.lang.Object
-
- org.freedesktop.dbus.Struct
-
- Direct Known Subclasses:
DBus.Binding.TestStruct
public abstract class Struct extends java.lang.Object
This class should be extended to create Structs. Any such class may be sent over DBus to a method which takes a Struct. All fields in the Struct which you wish to be serialized and sent to the remote method should be annotated with the org.freedesktop.dbus.Position annotation, in the order they should appear in to Struct to DBus.
-
-
Constructor Summary
Constructors Constructor Description Struct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.Object[]
getParameters()
Returns the struct contents in order.java.lang.String
toString()
Returns this struct as a string.
-
-
-
Method Detail
-
getParameters
public final java.lang.Object[] getParameters()
Returns the struct contents in order.- Throws:
DBusException
- If there is a problem doing this.
-
toString
public final java.lang.String toString()
Returns this struct as a string.- Overrides:
toString
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-