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
the application I'm maintaining overrides WebSocketServer.onFragment(Websocket, Framedata). The IDE marks that method as deprecated, because of this annotation:
If I read correctly the changes, WebsocketListener.onWebsocketMessageFragment() will never be called anymore and neither will WebsocketServer.onFragment()?
These changes where made since most of the users expected to receive all messages using OnMessage regardless of how the message was sent.
You're application should work without any problems by simply using OnMessage (string/bytebuffer)
Activity
egueli commentedon Aug 11, 2018
I see this is related to #570.
If I read correctly the changes,
WebsocketListener.onWebsocketMessageFragment()will never be called anymore and neither willWebsocketServer.onFragment()?marci4 commentedon Aug 11, 2018
Hello @egueli,
These changes where made since most of the users expected to receive all messages using OnMessage regardless of how the message was sent.
You're application should work without any problems by simply using OnMessage (string/bytebuffer)
Best regards,
marci4
egueli commentedon Aug 12, 2018
Thank you. In my case, there wasn't much logic in
onFragmentso I could remove it altogether.