You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/07/09 09:09:42 UTC

[GitHub] L-Angel opened a new issue #2054: 回调机制不能使用匿名类内部类

L-Angel opened a new issue #2054: 回调机制不能使用匿名类内部类
URL: https://github.com/apache/incubator-dubbo/issues/2054
 
 
   
   * Dubbo version: 2.5.10
   * Operating System version: Win 10
   * Java version: 1.8
   
   下面这种写法 会报没有实现Serializable接口
   
   /*cDubboDemoService.helloWorldAsyncCallback(req, new AsncCallbackListener<HelloWorldResponseType>() {
        @Override
        public void onComplete(HelloWorldResponseType response) {
            System.out.println("Async Callback : \n");
            System.out.println(response.getRetMsg());
            System.out.println("Client DateTime : " + new Date());
        }
    });*/ 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org