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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -