public class MethodCall extends Message
Message.ArgumentType, Message.Endian, Message.Flags, Message.HeaderField, Message.MessageTypebytecounter, flags, globalserial, headers, PROTOCOL, protover, serial, type, wiredata| Constructor and Description |
|---|
MethodCall(String dest,
String path,
String iface,
String member,
byte flags,
String sig,
Object... args) |
MethodCall(String source,
String dest,
String path,
String iface,
String member,
byte flags,
String sig,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
Message |
getReply()
Block (if neccessary) for a reply.
|
Message |
getReply(long timeout)
Block (if neccessary) for a reply.
|
boolean |
hasReply() |
static void |
setDefaultTimeout(long timeout)
Set the default timeout for method calls.
|
protected void |
setReply(Message reply) |
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, toStringpublic MethodCall(String dest, String path, String iface, String member, byte flags, String sig, Object... args) throws DBusException
DBusExceptionpublic MethodCall(String source, String dest, String path, String iface, String member, byte flags, String sig, Object... args) throws DBusException
DBusExceptionpublic static void setDefaultTimeout(long timeout)
timeout - New timeout in ms.public boolean hasReply()
public Message getReply(long timeout)
timeout - The length of time to block before timing out (ms).public Message getReply()
protected void setReply(Message reply)
Copyright © 2019 JBoss by Red Hat. All rights reserved.