Package com.lucimber.dbus.message
Class OutboundSignal
java.lang.Object
com.lucimber.dbus.message.OutboundSignal
- All Implemented Interfaces:
Message,OutboundMessage
An outbound signal message.
- Since:
- 1.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOutboundSignal(DBusUInt32 serial, DBusObjectPath path, DBusString iface, DBusString member, DBusString dst, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter. -
Method Summary
Modifier and TypeMethodDescriptionGets the unique name of the destination.Gets the name of the interface, to which this signal belongs.Gets the name of this signal.Gets the object path of this signal.Gets the payload of this D-Bus message.Gets the serial number of this D-Bus message.Gets the signature of the payload.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.lucimber.dbus.message.Message
getPayload, getSerial, getSignature
-
Constructor Details
-
OutboundSignal
public OutboundSignal(DBusUInt32 serial, DBusObjectPath path, DBusString iface, DBusString member, DBusString dst, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.- Parameters:
serial- the serial numberpath- the object pathiface- the name of the interfacemember- the name of this signaldst- optional; the destination of this signalsignature- optional; the signature of the message bodypayload- optional; the message body
-
-
Method Details
-
getDestination
Description copied from interface:OutboundMessageGets the unique name of the destination.- Specified by:
getDestinationin interfaceOutboundMessage- Returns:
- an
OptionalofDBusString
-
toString
-
getObjectPath
Gets the object path of this signal.- Returns:
- The path as an
DBusObjectPath.
-
getMember
Gets the name of this signal.- Returns:
- a
DBusString
-
getInterfaceName
Gets the name of the interface, to which this signal belongs.- Returns:
- a
DBusString
-
getSerial
Description copied from interface:MessageGets the serial number of this D-Bus message.- Specified by:
getSerialin interfaceMessage- Returns:
- an
DBusUInt32
-
getPayload
Description copied from interface:MessageGets the payload of this D-Bus message.- Specified by:
getPayloadin interfaceMessage- Returns:
- a
ListofDBusTypes.
-
getSignature
Description copied from interface:MessageGets the signature of the payload.- Specified by:
getSignaturein interfaceMessage- Returns:
- an
OptionalofDBusSignature
-