<commit_before><commit_msg>Request to open directory stream<commit_after>package org.torproject.jtor.circuits;

import org.torproject.jtor.directory.Router;

public class DirectoryStreamRequest {
	
	private final Router directory;
	private int requestEvent = 0;
	private int loadingEvent = 0;
	
	public DirectoryStreamRequest(Router directory) {
		this.directory = directory;
	}
	
	public void setInitializationEvents(int requestEvent, int loadingEvent) {
		this.requestEvent = requestEvent;
		this.loadingEvent = loadingEvent;
	}
	
	public Router getDirectoryRouter() {
		return directory;
	}

	public int getRequestEventCode() {
		return requestEvent;
	}
	
	public int getLoadingEventCode() {
		return loadingEvent;
	}
}
{'fraction_non_alphanumeric': 0.07617728531855955, 'fraction_numerical': 0.002770083102493075, 'mean_word_length': 5.127118644067797, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3225937', 'n_tokens_mistral': 224, 'n_tokens_neox': 201, 'n_words': 53}