<commit_before>package edu.mit.streamjit.impl.distributed.node;

import java.io.IOException;

/**
 * StreamNode side communication interface.
 * 
 * @author Sumanan <EMAIL>
 * @since May 14, 2013
 */
public interface Connection {

	public <T> T readObject() throws IOException, ClassNotFoundException;

	public boolean writeObject(Object obj) throws IOException;

	public boolean closeConnection() throws IOException;

	public boolean isStillConnected();
}
<commit_msg>return type changed from boolean to void<commit_after>package edu.mit.streamjit.impl.distributed.node;

import java.io.IOException;

/**
 * StreamNode side communication interface.
 * 
 * @author Sumanan <EMAIL>
 * @since May 14, 2013
 */
public interface Connection {

	public <T> T readObject() throws IOException, ClassNotFoundException;

	/**
	 * Write a object to the connection. </p>throws exception if failed. So no return value needed.
	 * 
	 * @throws IOException
	 */
	public void writeObject(Object obj) throws IOException;

	/**
	 * Close the connection. This function is responsible for all kind of resource cleanup. </p>throws exception if failed. So no
	 * return value needed.
	 * 
	 * @throws IOException
	 */
	public void closeConnection() throws IOException;

	public boolean isStillConnected();
}

{'fraction_non_alphanumeric': 0.09331259720062209, 'fraction_numerical': 0.00933125972006221, 'mean_word_length': 4.3625, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4937881', 'n_tokens_mistral': 372, 'n_tokens_neox': 334, 'n_words': 125}