Class ConnectedChannels


  • public class ConnectedChannels
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectedChannels​(java.lang.String id, io.micrometer.core.instrument.MeterRegistry metrics)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean addChannel​(org.webpieces.nio.api.channels.Channel channel)  
      java.util.concurrent.CompletableFuture<java.lang.Void> closeChannels()  
      void removeChannel​(org.webpieces.nio.api.channels.Channel channel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectedChannels

        public ConnectedChannels​(java.lang.String id,
                                 io.micrometer.core.instrument.MeterRegistry metrics)
    • Method Detail

      • addChannel

        public boolean addChannel​(org.webpieces.nio.api.channels.Channel channel)
      • removeChannel

        public void removeChannel​(org.webpieces.nio.api.channels.Channel channel)
      • closeChannels

        public java.util.concurrent.CompletableFuture<java.lang.Void> closeChannels()