Package io.aether.net.fastMeta
Interface RemoteApi
-
- All Superinterfaces:
io.aether.utils.interfaces.Destroyable
public interface RemoteApi extends io.aether.utils.interfaces.Destroyable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T,R extends RemoteApi>
Ras(FastMetaApi<T,R> meta)Creates another typed API encoder over the same FastMeta context.default io.aether.utils.futures.AFuturedestroy(boolean force)default voidflush()MetaContextgetFastMetaContext()default booleanisActive()
-
-
-
Method Detail
-
getFastMetaContext
MetaContext getFastMetaContext()
-
as
default <T,R extends RemoteApi> R as(FastMetaApi<T,R> meta)
Creates another typed API encoder over the same FastMeta context. No protocol bytes are emitted and the current RemoteApi is not mutated.
-
destroy
default io.aether.utils.futures.AFuture destroy(boolean force)
- Specified by:
destroyin interfaceio.aether.utils.interfaces.Destroyable
-
flush
default void flush()
-
isActive
default boolean isActive()
-
-