fengcunhan commented on issue #8738:
URL: https://github.com/apache/dubbo/issues/8738#issuecomment-916788805


   如果要看Triple协议下的结果如何传递给client端的,client端如何解析,可以查看代码:
    org.apache.dubbo.rpc.protocol.tri.UnaryServerStream.invoke()方法,在方法里面会执行方法 
final Result result = getInvoker().invoke(invocation); 
调用,拿到结果以后,先传递CONTENT_TYPE,然后data,最后结束帧传递attachments。
   
   
client解析部分可以看:org.apache.dubbo.rpc.protocol.tri.AbstractStream.AbstractTransportObserver.onMetadata()方法,这部分恰好对应上述服务器端传输部分
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to