<commit_before>//
//  SocketIOEvent.swift
//  Smartime
//
//  Created by <NAME> on 10/04/2015.
//  Copyright (c) 2015 <NAME>. All rights reserved.
//

import Foundation

// System events
public enum SocketIOEvent: String, Printable {
    
    case Connected = "connected" //Called on a successful connection
    case ConnectedNamespace = "connected_namespace" //Called on a successful namespace connection
    case Disconnected = "disconnected" //Called on a disconnection
    case ConnectError = "connect_error" //Called on a connection error
    case ReconnectAttempt = "reconnect_attempt" //Attempt for reconnection
    case EmitError = "emit_error" //Sending errors
    
    public var description: String {
        return self.rawValue
    }
    
    static var system: [SocketIOEvent] {
        return [.Connected, .Disconnected, .ReconnectAttempt, .EmitError]
    }
    
}<commit_msg>Added system Event.ConnectedNamespace<commit_after>//
//  SocketIOEvent.swift
//  Smartime
//
//  Created by <NAME> on 10/04/2015.
//  Copyright (c) 2015 <NAME>. All rights reserved.
//

import Foundation

// System events
public enum SocketIOEvent: String, Printable {
    
    case Connected = "connected" //Called on a successful connection
    case ConnectedNamespace = "connected_namespace" //Called on a successful namespace connection
    case Disconnected = "disconnected" //Called on a disconnection
    case ConnectError = "connect_error" //Called on a connection error
    case ReconnectAttempt = "reconnect_attempt" //Attempt for reconnection
    case EmitError = "emit_error" //Sending errors
    
    public var description: String {
        return self.rawValue
    }
    
    static var system: [SocketIOEvent] {
        return [.Connected, .ConnectedNamespace, .Disconnected, .ReconnectAttempt, .EmitError]
    }
    
}
{'fraction_non_alphanumeric': 0.09250136836343732, 'fraction_numerical': 0.013136288998357963, 'mean_word_length': 3.080357142857143, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2069359', 'n_tokens_mistral': 530, 'n_tokens_neox': 506, 'n_words': 167}