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.
    • 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.AFuture stop()  
      • Methods inherited from interface io.aether.utils.interfaces.Destroyable

        destroy
    • 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.