java - how the server initiate request to any particular client from websockets? -


how server initiate request particular client java websockets,how url of clients

@clientendpoint public class websocketclient {  session usersession = null; private messagehandler messagehandler;  public websocketclient(uri endpointuri) {      system.out.println("**************************************************");     try {         websocketcontainer container = containerprovider.getwebsocketcontainer();         container.connecttoserver(this, endpointuri);     } catch (exception e) {         throw new runtimeexception(e);     } } 


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -