public void fireEvent(Object event){
  if (event == null) {
    throw new IllegalArgumentException("Event must not be null.");
  }
  mTaskQueue.offer(Task.obtainTask(Task.CODE_FIRE_EVENT,event,-1));
  if (!mQueueProcessed)   processTaskQueue();
}

public void fireEvent ( Object event ) { if ( event == null ) { throw new IllegalArgumentException ( "Event must not be null." ) ; } mTaskQueue . offer ( Task . obtainTask ( Task . CODE_FIRE_EVENT , event , - 1 ) ) ; if ( ! mQueueProcessed ) processTaskQueue ( ) ; }
forwards an event into state machine . state machine will deliver the event to a handler methods responsible for its processing . if there is no handler method found , then event gets silently ignored and this call has no effect .
