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

com.flash3388.flashlib.io.IoPort Maven / Gradle / Ivy

The newest version!
package com.flash3388.flashlib.io;

import java.io.Closeable;
import java.io.IOException;

/**
 * Interface for IO ports. Contains a single method {@link #close()} which releases the port from usage.
 *
 * @since FlashLib 1.2.0
 */
public interface IoPort extends Closeable {

	/**
	 * Frees the port. Releasing all resources and
	 * closing it. The port cannot be used after that.
	 */
    @Override
    void close() throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy