code: public void stopProfile(IoEventType type) {
          switch (type) {
              case MESSAGE_RECEIVED :
                  profileMessageReceived = false;
                  return;
                  
              case MESSAGE_SENT :
                  profileMessageSent = false;
                  return;
                  
              case SESSION_CREATED :
                  profileSessionCreated = false;
                  return;
  
              case SESSION_OPENED :
                  profileSessionOpened = false;
                  return;
  
              case SESSION_IDLE :
                  profileSessionIdle = false;
                  return;
  
              case SESSION_CLOSED :
                  profileSessionClosed = false;
                  return;
          }
      }
docs: Stop profiling an {@link IoEventType}
  
  @param type The {@link IoEventType} to stop profiling