Interface FastMetaClient<LT,​RT extends RemoteApi>

  • Type Parameters:
    LT - The type of the local API (what the client implements and receives).
    RT - The type of the remote API (what the client calls and sends).
    All Superinterfaces:
    io.aether.utils.interfaces.Destroyable, FastMetaNet.Connection<LT,​RT>

    public interface FastMetaClient<LT,​RT extends RemoteApi>
    extends FastMetaNet.Connection<LT,​RT>
    Interface for creating and managing a FastMeta client connection.
    • Method Detail

      • flush

        void flush​(io.aether.utils.futures.AFuture sendFuture)
        Flushes any queued data on the underlying context. This is a convenience method that finds the active context and calls flush on it.
        Parameters:
        sendFuture - A future to complete (done/cancel) based on the flush attempt.