java.lang.Object
org.freedesktop.dbus.messages.Message
org.freedesktop.dbus.messages.MethodBase
org.freedesktop.dbus.messages.MethodCall
-
Feldübersicht
Von Klasse geerbte Felder org.freedesktop.dbus.messages.Message
logger, MAXIMUM_ARRAY_LENGTH, MAXIMUM_MESSAGE_LENGTH, MAXIMUM_NUM_UNIX_FDS, PROTOCOL
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
MethodCall
(byte _endianess, String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) protected
MethodCall
(byte _endianess, String _source, String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) -
Methodenübersicht
Von Klasse geerbte Methoden org.freedesktop.dbus.messages.Message
align, append, appendByte, appendBytes, appendint, createHeaderArgs, demarshallint, demarshallint, demarshallintBig, demarshallintLittle, extract, extract, getAlignment, getByteCounter, getDestination, getEndianess, getFiledescriptors, getFlags, getHeader, getHeader, getHeaderFieldName, getInterface, getName, getParameters, getPath, getReplySerial, getSerial, getSig, getSource, getType, getWireData, marshallint, marshallintBig, marshallintLittle, pad, padAndMarshall, setArgs, setByteCounter, setHeader, setSerial, setSource, setWireData, toString, updateEndianess
-
Konstruktordetails
-
MethodCall
protected MethodCall(byte _endianess, String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) throws DBusException - Löst aus:
DBusException
-
MethodCall
protected MethodCall(byte _endianess, String _source, String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) throws DBusException - Löst aus:
DBusException
-
-
Methodendetails
-
setDefaultTimeout
public static void setDefaultTimeout(long _timeout) Set the default timeout for method calls. Default is 20s.- Parameter:
_timeout
- New timeout in ms.
-
hasReply
public boolean hasReply() -
getReply
Block (if neccessary) for a reply.- Parameter:
_timeout
- The length of time to block before timing out (ms).- Gibt zurück:
- The reply to this MethodCall, or null if a timeout happens.
-
getReply
Block (if neccessary) for a reply. Default timeout is 20s, or can be configured with setDefaultTimeout()- Gibt zurück:
- The reply to this MethodCall, or null if a timeout happens.
-
setReply
-