Class FastApiContextClientNIO<LT,​RT extends io.aether.net.fastMeta.RemoteApi>

  • 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.AFuture connectedFuture  
      io.aether.net.fastMeta.FastMetaApi<LT,​?> localApiMeta  
      io.aether.net.fastMeta.FastMetaApi<?,​RT> remoteApiMeta  
      • Fields inherited from class io.aether.net.fastMeta.FastApiContextLocal

        localApi
      • Fields inherited from interface io.aether.net.fastMeta.FastFutureContext

        STUB
    • 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.AFuture close()  
      void flush​(io.aether.utils.futures.AFuture sendFuture)  
      void run()  
      • Methods inherited from class io.aether.net.fastMeta.FastApiContext

        getFuture, isEmpty, makeRemote, regFuture, regLocalFuture, remoteDataToArray, remoteDataToArray, sendResultToRemote, sendResultToRemote, sendToRemote, size
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.aether.net.fastMeta.FastFutureContext

        invokeLocalMethodAfter, invokeLocalMethodBefore, invokeRemoteMethodAfter
    • Field Detail

      • localApiMeta

        public final io.aether.net.fastMeta.FastMetaApi<LT,​?> localApiMeta
      • remoteApiMeta

        public final io.aether.net.fastMeta.FastMetaApi<?,​RT extends io.aether.net.fastMeta.RemoteApi> remoteApiMeta
      • connectedFuture

        public final io.aether.utils.futures.AFuture connectedFuture
    • 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:
        run in interface java.lang.Runnable
      • flush

        public void flush​(io.aether.utils.futures.AFuture sendFuture)
        Specified by:
        flush in interface io.aether.net.fastMeta.FastFutureContext
      • close

        public io.aether.utils.futures.AFuture close()
        Specified by:
        close in interface io.aether.net.fastMeta.FastFutureContext