mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
Implemented a basic NIO socket channel interface. Non-blocking socket channels
and server socket channels are implemented. This version works but only when libnative is linked with g++ (because of C++ object creation code that fails without this linking)
This commit is contained in:
8
classpath/java/nio/channels/Channel.java
Normal file
8
classpath/java/nio/channels/Channel.java
Normal file
@ -0,0 +1,8 @@
|
||||
package java.nio.channels;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public interface Channel {
|
||||
public void close() throws IOException;
|
||||
public boolean isOpen();
|
||||
}
|
Reference in New Issue
Block a user