code: private void setProfilers(IoEventType... eventTypes) {
          for (IoEventType type : eventTypes) {
              switch (type) {
                  case MESSAGE_RECEIVED :
                      messageReceivedTimerWorker = new TimerWorker();
                      profileMessageReceived = true;
                      break;
  
                  case MESSAGE_SENT :
                      messageSentTimerWorker = new TimerWorker();
                      profileMessageSent = true;
                      break;
  
                  case SESSION_CREATED :
                      sessionCreatedTimerWorker = new TimerWorker();
                      profileSessionCreated = true;
                      break;
                      
                  case SESSION_OPENED :
                      sessionOpenedTimerWorker = new TimerWorker();
                      profileSessionOpened = true;
                      break;
                      
                  case SESSION_IDLE :
                      sessionIdleTimerWorker = new TimerWorker();
                      profileSessionIdle = true;
                      break;
                      
                  case SESSION_CLOSED :
                      sessionClosedTimerWorker = new TimerWorker();
                      profileSessionClosed = true;
                      break;
              }
          }
      }
docs: Create the profilers for a list of {@link IoEventType}.
  
  @param eventTypes the list of {@link IoEventType} to profile