You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to JXIO API doc for ServerSession.sendResponse():
org.accelio.jxio.exceptions.JxioSessionClosedException - if session already closed. In case exception is thrown, discardRequest must be called for this message after SESSION_CLOSED event is officially recieved.
Does it mean that the message that failed to send due to this exception can only be discarded in onSessionEvent()?
My problem is, in my program, ServerSession might closes before another thread calls sendResponse(), which means discardRequest() might has no chance to be called in onSessionEvent().
Can I just discardRequest(msg) in JxioSessionClosedException handler?
The text was updated successfully, but these errors were encountered:
According to JXIO API doc for ServerSession.sendResponse():
Does it mean that the message that failed to send due to this exception can only be discarded in onSessionEvent()?
My problem is, in my program, ServerSession might closes before another thread calls sendResponse(), which means discardRequest() might has no chance to be called in onSessionEvent().
Can I just discardRequest(msg) in JxioSessionClosedException handler?
The text was updated successfully, but these errors were encountered: