protected void notifyStatus(String event){
		BlockingQueue<String> eventsQueue = (LinkedBlockingQueue<String>)getServletContext().getAttribute("eventsQueue");
//		if (eventsQueue == null) eventsQueue = new LinkedBlockingQueue<String>();
//		getServletContext().setAttribute("eventsQueue", eventsQueue);
		
		try {
			eventsQueue.put(event);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}		
	}
protected void notifyStatus ( String event ) { BlockingQueue < String > eventsQueue = ( LinkedBlockingQueue < String > ) getServletContext ( ) . getAttribute ( "eventsQueue" ) ; try { eventsQueue . put ( event ) ; } catch ( InterruptedException e ) { e . printStackTrace ( ) ; } }
/*
Use the notifyStatus(String event) method in order to trigger an update at the client's page when needed for any new request.
Here will be used for Bye or new Call requests.