callback hook for message events . this method will be invoked when a client send a message . concode_field_sep Set<Session> userSessions concode_field_sep void onClose concode_elem_sep void onOpen
void function ( String arg0 , Session arg1 ) { System . out . println ( "srini_string" + arg0 ) ; for ( Session loc0 : userSessions ) { System . out . println ( "srini_string" + loc0 . getId ( ) ) ; loc0 . getAsyncRemote ( ) . sendText ( arg0 ) ; } }