java - Does akka actors will able to use websocket session ? does websocket connection closes before actors start using? -
i having 3 actors,able send data client first actor how session closing second,third actors.i want causing closing of session,i have tried onclose(..) method debug pointer not coming onclose(..) method.can 1 tell how intercept session closing ?
public class schedulemgmtwebsocket extends basewebsocket { @onmessage public void onmessage(string message, session session) { actor1.tell(session); actor2.tell(session); }
here when control comes out of onmessage session closes i.e whole web socket instance closes ?when instance closes actors no more can send data clients ? can expert clarify me please
Comments
Post a Comment