All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lejos.remote.nxt.StreamConnection Maven / Gradle / Ivy

Go to download

leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.

The newest version!
package lejos.remote.nxt;

/**
 * 
 * This interface defines the capabilities that a stream connection must have.
 * 
 * StreamConnections have one underlying InputStream and one OutputStream. 
 * 
 * Opening a DataInputStream counts as opening an InputStream and opening a DataOutputStream counts as opening an OutputStream. 
 * 
 * Trying to open another InputStream or OutputStream causes an IOException. 
 * 
 * Trying to open the InputStream or OutputStream after they have been closed causes an IOException
 *
 */
public interface StreamConnection extends InputConnection, OutputConnection {
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy