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

org.jetlang.fibers.NioControls Maven / Gradle / Ivy

Go to download

Jetlang provides a high performance java threading library. It is a complement to the java.util.concurrent package introduced in 1.5 and should be used for message based concurrency similar to event based actors in Scala.

There is a newer version: 0.2.23
Show newest version
package org.jetlang.fibers;

import java.nio.ByteBuffer;
import java.nio.channels.SelectableChannel;
import java.nio.channels.WritableByteChannel;

public interface NioControls {
    void addHandler(NioChannelHandler handler);

     void write(T channel, ByteBuffer buffer);

    boolean close(SelectableChannel channel);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy