Package io.aether.net.fastMeta
Interface FastMetaServer<LT,RT extends RemoteApi>
-
- Type Parameters:
LT- Тип локального API (что сервер реализует и принимает).RT- Тип удаленного API (что сервер вызывает и отправляет).
- All Superinterfaces:
io.aether.utils.interfaces.Destroyable
public interface FastMetaServer<LT,RT extends RemoteApi> extends io.aether.utils.interfaces.DestroyableОбщий интерфейс для серверного транспорта FastMeta.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFastMetaServer.Handler<LT,RT extends RemoteApi>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<FastMetaNet.Connection<LT,RT>>handlers()Возвращает коллекцию (Iterable) всех активных соединений.io.aether.utils.futures.AFuturestop()
-
-
-
Method Detail
-
stop
io.aether.utils.futures.AFuture stop()
-
handlers
java.lang.Iterable<FastMetaNet.Connection<LT,RT>> handlers()
Возвращает коллекцию (Iterable) всех активных соединений. Полезно для перебора соединений с использованием цикла for-each.- Returns:
- Iterable по ServerConnection LT, RT.
-
-