GitHub user wenlong88 reopened a pull request: https://github.com/apache/flink/pull/2401
[FLINK-4443][rpc] Add support in RpcCompletenessTest for inheritance of RpcGateway and RpcEndpoint RpcCompletenessTest needs to support RpcGateway which is composited by some basic functions like following: ``` public interface ExecutionStateListener extends RpcGateway { public void notifyExecutionStateChanges(); } public interface JobStateListener extends RpcGateway { public void notifyJobStateChanges(); } public interface JobWatcher extends ExecutionStateListener, JobStateListener, RpcGateway { } public class JobWatcherEndpoint extends RpcEndpoint<JobWatcher> { protected JobWatcherEndpoint(RpcService rpcService) { super(rpcService); } @RpcMethod public void notifyExecutionStateChanges() { } @RpcMethod public void notifyJobStateChanges() { } } public class AttachedJobClient extends JobWatcherEndpoint { protected JobClient(RpcService rpcService) { super(rpcService); } } ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/alibaba/flink flink-4443 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2401.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2401 ---- commit 83b46df346d3626aa15f690c449d17fe3218014e Author: wenlong.lwl <wenlong....@alibaba-inc.com> Date: 2016-08-20T16:46:51Z add support for rpc gateway and rpc endpoint inheritance commit b471bd249fbc40a23c6d32e5840c5ab95d693f75 Author: wenlong.lwl <wenlong....@alibaba-inc.com> Date: 2016-08-22T05:33:33Z update comments commit dc9d435f7bd732b5f75e228e65ffcad278e3d28b Author: wenlong.lwl <wenlong....@alibaba-inc.com> Date: 2016-08-23T01:53:31Z remove native method annotation commit 37b4f01b4c207ace518b3af842c015537a183e55 Author: wenlong.lwl <wenlong....@alibaba-inc.com> Date: 2016-08-23T02:46:28Z add line break ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---