<commit_before>///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2000-2015 Ericsson Telecom AB
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// which accompanies this distribution, and is available at
// http://www.eclipse.org/legal/epl-v10.html
///////////////////////////////////////////////////////////////////////////////
#ifndef EVENT_HANDLER_HH
#define EVENT_HANDLER_HH

#include "Types.h"

/**
* The definitions in this header file are needed for TITAN.
* These classes should not be used in user code.
* These classes are used as base classes for class PORT.
*/

class Fd_Event_Handler {
  virtual void Handle_Fd_Event(int fd,
    boolean is_readable, boolean is_writeable, boolean is_error) = 0;

public:
  Fd_Event_Handler() {}
  virtual ~Fd_Event_Handler() {}
  virtual void log() const;<commit_msg>Added file descriptor set library (Cygwin bug)<commit_after>///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2000-2015 Ericsson Telecom AB
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// which accompanies this distribution, and is available at
// http://www.eclipse.org/legal/epl-v10.html
///////////////////////////////////////////////////////////////////////////////
#ifndef EVENT_HANDLER_HH
#define EVENT_HANDLER_HH

#include "Types.h"
#include <sys/select.h>

/**
* The definitions in this header file are needed for TITAN.
* These classes should not be used in user code.
* These classes are used as base classes for class PORT.
*/

class Fd_Event_Handler {
  virtual void Handle_Fd_Event(int fd,
    boolean is_readable, boolean is_writeable, boolean is_error) = 0;

public:
  Fd_Event_Handler() {}
  virtual ~Fd_Event_Handler() {}
  virtual void log() const;
{'fraction_non_alphanumeric': 0.23202447730749617, 'fraction_numerical': 0.013258541560428353, 'mean_word_length': 2.1291866028708135, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6920357', 'n_tokens_mistral': 517, 'n_tokens_neox': 490, 'n_words': 193}