@Override
	protected void onNotify(BTServerStateListener listener, int event, Object o) {
		if ((SERVER_STARTED & event)>0){
			listener.serverStarted();
		}

		if ((SERVER_ACCEPT & event)>0){
			listener.serverAccept();
		}		
		
		if ((SERVER_STOPPED & event)>0){
			listener.serverStopped();
		}	
		
		if ((SERVER_LISTENING & event)>0){
			listener.serverListening();
		}	
		
		if ((SERVER_ERROR & event)>0){
			listener.serverException((Exception) o);
		}	
		if ((SERVER_WAITING & event)>0){
			listener.serverWaiting();
		}	
		
	}