org.freedesktop.dbus
Class DBusSignal

java.lang.Object
  extended by org.freedesktop.dbus.Message
      extended by org.freedesktop.dbus.DBusSignal
Direct Known Subclasses:
DBus.Binding.TestClient.Trigger, DBus.Binding.TestSignals.Triggered, DBus.Local.Disconnected, DBus.NameAcquired, DBus.NameLost, DBus.NameOwnerChanged

public class DBusSignal
extends Message


Nested Class Summary
 
Nested classes/interfaces inherited from class org.freedesktop.dbus.Message
Message.ArgumentType, Message.Endian, Message.Flags, Message.HeaderField, Message.MessageType
 
Field Summary
 
Fields inherited from class org.freedesktop.dbus.Message
bytecounter, flags, globalserial, headers, PROTOCOL, protover, serial, type, wiredata
 
Constructor Summary
protected DBusSignal(String objectpath, Object... args)
          Create a new signal.
  DBusSignal(String source, String path, String iface, String member, String sig, Object... args)
           
 
Method Summary
 
Methods inherited from class org.freedesktop.dbus.Message
align, append, appendByte, appendBytes, appendint, demarshallint, demarshallint, demarshallintBig, demarshallintLittle, extract, extract, getAlignment, getDestination, getFlags, getHeader, getHeaderFieldName, getInterface, getName, getParameters, getPath, getReplySerial, getSerial, getSig, getSource, getWireData, marshallint, marshallintBig, marshallintLittle, pad, setArgs, setSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBusSignal

public DBusSignal(String source,
                  String path,
                  String iface,
                  String member,
                  String sig,
                  Object... args)
           throws DBusException
Throws:
DBusException

DBusSignal

protected DBusSignal(String objectpath,
                     Object... args)
              throws DBusException
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.