Uses of Class
xyz.cofe.trambda.tcp.ServerEvent
-
-
Uses of ServerEvent in xyz.cofe.trambda.tcp
Fields in xyz.cofe.trambda.tcp with type parameters of type ServerEvent Modifier and Type Field Description protected Map<String,Set<Consumer<ServerEvent>>>TcpProtocol. serverEventListenersПодписчики на серверные событияprotected Map<String,List<xyz.cofe.fn.Tuple2<Consumer<ServerEvent>,AutoCloseable>>>TcpClient. subscribersСписок подписчиков на события сервераMethods in xyz.cofe.trambda.tcp with parameters of type ServerEvent Modifier and Type Method Description protected voidTcpProtocol. process(ServerEvent sevent, TcpHeader header)Обработка входящего серверного события Уведомляет подписчиковTcpProtocol.listenServerEvent(String, Consumer)о серверном событииMethod parameters in xyz.cofe.trambda.tcp with type arguments of type ServerEvent Modifier and Type Method Description static AutoCloseableServerEvent. listen(TrEventPublisher evPublisher, Consumer<ServerEvent> listener)Подписка на события CompileAutoCloseableTcpProtocol. listenServerEvent(String publisher, Consumer<ServerEvent> listener)Добавляет подписчика на событие сервера.voidTcpProtocol. removeServerEventListener(Consumer<ServerEvent> listener)Отписка от событий сервераResultConsumer<Subscribe,SubscribeResult>TcpClient. subscribe(String publisher, Consumer<ServerEvent> listener)ResultConsumer<Subscribe,SubscribeResult>TcpClient. subscribe(Subscribe subscribe, Consumer<ServerEvent> listener)Подписка на события сервераvoidTcpClient. unsubscribe(Consumer<? super ServerEvent> listener)
-