Package com.lucimber.dbus.message
Interface Message
- All Known Subinterfaces:
InboundMessage
,InboundReply
,OutboundMessage
,OutboundReply
- All Known Implementing Classes:
InboundError
,InboundMethodCall
,InboundMethodReturn
,InboundSignal
,OutboundError
,OutboundMethodCall
,OutboundMethodReturn
,OutboundSignal
public interface Message
This interface declares the common properties of the different D-Bus message types. A concrete
D-Bus message must implement this interface.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the payload of this D-Bus message.Gets the serial number of this D-Bus message.Gets the signature of the payload.
-
Method Details
-
getSerial
DBusUInt32 getSerial()Gets the serial number of this D-Bus message.- Returns:
- an
DBusUInt32
-
getPayload
Gets the payload of this D-Bus message. -
getSignature
Optional<DBusSignature> getSignature()Gets the signature of the payload.- Returns:
- an
Optional
ofDBusSignature
-