Package org.freedesktop.dbus
Class RemoteInvocationHandler
- java.lang.Object
-
- org.freedesktop.dbus.RemoteInvocationHandler
-
- All Implemented Interfaces:
InvocationHandler
public class RemoteInvocationHandler extends Object implements InvocationHandler
-
-
Field Summary
Fields Modifier and Type Field Description static intCALL_TYPE_ASYNCstatic intCALL_TYPE_CALLBACKstatic intCALL_TYPE_SYNC
-
Constructor Summary
Constructors Constructor Description RemoteInvocationHandler(AbstractConnection _conn, RemoteObject _remote)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectconvertRV(String sig, Object[] rp, Method m, AbstractConnection conn)static ObjectexecuteRemoteMethod(RemoteObject ro, Method m, AbstractConnection conn, int syncmethod, CallbackHandler<?> callback, Object... args)Objectinvoke(Object proxy, Method method, Object[] args)
-
-
-
Field Detail
-
CALL_TYPE_SYNC
public static final int CALL_TYPE_SYNC
- See Also:
- Constant Field Values
-
CALL_TYPE_ASYNC
public static final int CALL_TYPE_ASYNC
- See Also:
- Constant Field Values
-
CALL_TYPE_CALLBACK
public static final int CALL_TYPE_CALLBACK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RemoteInvocationHandler
public RemoteInvocationHandler(AbstractConnection _conn, RemoteObject _remote)
-
-
Method Detail
-
convertRV
public static Object convertRV(String sig, Object[] rp, Method m, AbstractConnection conn) throws DBusException
- Throws:
DBusException
-
executeRemoteMethod
public static Object executeRemoteMethod(RemoteObject ro, Method m, AbstractConnection conn, int syncmethod, CallbackHandler<?> callback, Object... args) throws DBusException
- Throws:
DBusException
-
-