I don't think we can remove this, since we will decode event data later. In my
opinion we should do this:
```java
if ((flag & FLAG_EVENT) != 0) {
request.setEvent(true);
}
try {
if (req.isEvent()) {
data = decodeEventData(channel, in);
} else {
data = decodeRequestData(channel, in);
}
request.setData(data);
}
```
I don't think we should distinguish event type any longer
[ Full content available at:
https://github.com/apache/incubator-dubbo/pull/3043 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]