java.lang.Object
org.freedesktop.dbus.messages.Message
org.freedesktop.dbus.messages.DBusSignal
- Direct Known Subclasses:
DBus.NameAcquired,DBus.NameLost,DBus.NameOwnerChanged,InternalSignal,Local.Disconnected,ObjectManager.InterfacesAdded,ObjectManager.InterfacesRemoved,Properties.PropertiesChanged
-
Nested Class Summary
Nested classes/interfaces inherited from class org.freedesktop.dbus.messages.Message
Message.ArgumentType, Message.Endian, Message.Flags, Message.HeaderField, Message.MessageType -
Field Summary
Fields inherited from class org.freedesktop.dbus.messages.Message
globalserial, MAXIMUM_ARRAY_LENGTH, MAXIMUM_MESSAGE_LENGTH, MAXIMUM_NUM_UNIX_FDS, PROTOCOL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDBusSignal(String objectpath, Object... args) Create a new signal. -
Method Summary
Modifier and TypeMethodDescriptionvoidappendbody(AbstractConnection conn) createReal(AbstractConnection conn) Methods inherited from class org.freedesktop.dbus.messages.Message
align, append, appendByte, appendBytes, appendint, demarshallint, demarshallint, demarshallintBig, demarshallintLittle, extract, extract, getAlignment, getByteCounter, getDestination, getEndianess, getFiledescriptors, getFlags, getHeader, getHeaderFieldName, getHeaders, getInterface, getName, getParameters, getPath, getReplySerial, getSerial, getSig, getSource, getType, getWiredata, getWireData, marshallint, marshallintBig, marshallintLittle, pad, setArgs, setByteCounter, setSerial, setSource, setWiredata, toString
-
Constructor Details
-
DBusSignal
public DBusSignal(String source, String path, String iface, String member, String sig, Object... args) throws DBusException - Throws:
DBusException
-
DBusSignal
Create a new signal. This contructor MUST be called by all sub classes.- Parameters:
objectpath- The path to the object this is emitted from.args- The parameters of the signal.- Throws:
DBusException- This is thrown if the subclass is incorrectly defined.
-
-
Method Details
-
createReal
- Throws:
DBusException
-
appendbody
- Throws:
DBusException
-