Package io.aether.net.fastMeta.nio
Class FastApiContextClientNIO<LT,RT extends io.aether.net.fastMeta.RemoteApi>
- java.lang.Object
-
- io.aether.net.fastMeta.FastApiContext
-
- io.aether.net.fastMeta.FastApiContextLocal<LT>
-
- io.aether.net.fastMeta.nio.FastApiContextClientNIO<LT,RT>
-
- All Implemented Interfaces:
io.aether.net.fastMeta.FastFutureContext,java.lang.Runnable
public class FastApiContextClientNIO<LT,RT extends io.aether.net.fastMeta.RemoteApi> extends io.aether.net.fastMeta.FastApiContextLocal<LT> implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description io.aether.utils.futures.AFutureconnectedFutureio.aether.net.fastMeta.FastMetaApi<LT,?>localApiMetaio.aether.net.fastMeta.FastMetaApi<?,RT>remoteApiMeta
-
Constructor Summary
Constructors Constructor Description FastApiContextClientNIO(java.nio.channels.SocketChannel channel, io.aether.net.fastMeta.FastMetaApi<LT,?> localApiMeta, io.aether.net.fastMeta.FastMetaApi<?,RT> remoteApiMeta, io.aether.utils.interfaces.AFunction<RT,LT> localApi, io.aether.logger.LNode logContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.aether.utils.futures.AFutureclose()voidflush(io.aether.utils.futures.AFuture sendFuture)voidrun()-
Methods inherited from class io.aether.net.fastMeta.FastApiContext
getFuture, isEmpty, makeRemote, regFuture, regLocalFuture, remoteDataToArray, remoteDataToArray, sendResultToRemote, sendResultToRemote, sendToRemote, size
-
-
-
-
Constructor Detail
-
FastApiContextClientNIO
public FastApiContextClientNIO(java.nio.channels.SocketChannel channel, io.aether.net.fastMeta.FastMetaApi<LT,?> localApiMeta, io.aether.net.fastMeta.FastMetaApi<?,RT> remoteApiMeta, io.aether.utils.interfaces.AFunction<RT,LT> localApi, io.aether.logger.LNode logContext) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
flush
public void flush(io.aether.utils.futures.AFuture sendFuture)
- Specified by:
flushin interfaceio.aether.net.fastMeta.FastFutureContext
-
close
public io.aether.utils.futures.AFuture close()
- Specified by:
closein interfaceio.aether.net.fastMeta.FastFutureContext
-
-