Re: Websocket client message processing

2014-12-10 Thread Mark Thomas
On 09/12/2014 23:42, Rémy Maucherat wrote: > 2014-12-09 20:47 GMT+01:00 Mark Thomas : > >> How would a message get into the socket buffer? The client needs a >> session to write a message and it won't get one until connectToServer >> returns. >> > You misunderstood it, the client opens the connect

Re: Websocket client message processing

2014-12-09 Thread Rémy Maucherat
2014-12-09 20:47 GMT+01:00 Mark Thomas : > How would a message get into the socket buffer? The client needs a > session to write a message and it won't get one until connectToServer > returns. > > You misunderstood it, the client opens the connection, and the server sends back a message during onO

Re: Websocket client message processing

2014-12-09 Thread Mark Thomas
On 09/12/2014 17:08, Rémy Maucherat wrote: > Hi, > > As part of the conntectToServer method, any message that could be present > in the socket buffer would be processed inline and go to the message > handler. Is that normal ? I have the impression reading the javadoc this > method should just be d

Websocket client message processing

2014-12-09 Thread Rémy Maucherat
Hi, As part of the conntectToServer method, any message that could be present in the socket buffer would be processed inline and go to the message handler. Is that normal ? I have the impression reading the javadoc this method should just be doing the initial connection. Thanks, Rémy