abstract fun invoke(invocation: RemoteInvocation, targetObject: Any): Any
Perform this invocation on the given target object. Typically called when a RemoteInvocation is received on the server.
invocation - the RemoteInvocation
targetObject - the target object to apply the invocation to
NoSuchMethodException - if the method name could not be resolved
IllegalAccessException - if the method could not be accessed
InvocationTargetException - if the method invocation resulted in an exception
Return
the invocation result
See Also
java.lang.reflect.Method#invoke