TextData Event
Passes a received chunk of text data to the application.
Syntax
public class DefaultWebsocketserverEventListener implements WebsocketserverEventListener { ... public void textData(WebsocketserverTextDataEvent e) {} ... } public class WebsocketserverTextDataEvent { public long connectionID; public String text; public boolean last; }
Remarks
The class fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.