yoelyang commented on code in PR #2959:
URL: https://github.com/apache/thrift/pull/2959#discussion_r2079138146
##########
lib/java/src/main/java/org/apache/thrift/server/TServerEventHandler.java:
##########
@@ -37,8 +38,15 @@ public interface TServerEventHandler {
/** Called before the server begins. */
void preServe();
- /** Called when a new client has connected and is about to being processing.
*/
- ServerContext createContext(TProtocol input, TProtocol output);
+ /**
+ * Called when a new client has connected and is about to being processing.
The
+ * remoteSocketAddress and localSocketAddress are null when transport is not
socket based
+ */
+ ServerContext createContext(
Review Comment:
This is a good idea, I'll modify the implementation.
--
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]