[ 
https://issues.apache.org/jira/browse/FLINK-4362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418506#comment-15418506
 ] 

ASF GitHub Bot commented on FLINK-4362:
---------------------------------------

Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2357#discussion_r74555048
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/RpcEndpoint.java ---
    @@ -172,6 +173,13 @@ public void runAsync(Runnable runnable) {
                return ((MainThreadExecutor) self).callAsync(callable, timeout);
        }
     
    +   /**
    +    * Returns the class of the self gateway type.
    +    *
    +    * @return Class of the self gateway type
    +    */
    +   public abstract Class<C> getSelfGatewayType();
    --- End diff --
    
    But we can actually do this in the constructor and then store the type.


> Auto generate message sender classes via Java Proxies
> -----------------------------------------------------
>
>                 Key: FLINK-4362
>                 URL: https://issues.apache.org/jira/browse/FLINK-4362
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination
>            Reporter: Stephan Ewen
>            Assignee: Till Rohrmann
>
> The first version of the RPC service needs to manually create the sender 
> classes, which turn method calls into messages.
> This can be automated by using Java Proxies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to