Class Struct

java.lang.Object
org.freedesktop.dbus.Struct
Direct Known Subclasses:
DBus.Binding.TestStruct

public abstract class Struct extends 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 Details

    • Struct

      public Struct()
  • Method Details

    • getParameters

      public final Object[] getParameters()
      Returns the struct contents in order.
    • toString

      public final String toString()
      Returns this struct as a string.
      Overrides:
      toString in class Object
    • equals

      public final boolean equals(Object other)
      Overrides:
      equals in class Object