Class WaitForEventLogger<T>

  • All Implemented Interfaces:
    Logger, java.util.function.Supplier<T>

    public class WaitForEventLogger<T>
    extends java.lang.Object
    implements java.util.function.Supplier<T>, Logger
    • Constructor Summary

      Constructors 
      Constructor Description
      WaitForEventLogger​(ChannelOwner channelOwner, java.lang.String apiName, java.util.function.Function<Logger,​T> supplier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      void log​(java.lang.String message)  
      private void sendWaitForEventInfo​(com.google.gson.JsonObject info)  
      • Methods inherited from class java.lang.Object

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

      • supplier

        private final java.util.function.Function<Logger,​T> supplier
      • waitId

        private final java.lang.String waitId
      • apiName

        private final java.lang.String apiName
    • Constructor Detail

      • WaitForEventLogger

        WaitForEventLogger​(ChannelOwner channelOwner,
                           java.lang.String apiName,
                           java.util.function.Function<Logger,​T> supplier)
    • Method Detail

      • get

        public T get()
        Specified by:
        get in interface java.util.function.Supplier<T>
      • log

        public void log​(java.lang.String message)
        Specified by:
        log in interface Logger
      • sendWaitForEventInfo

        private void sendWaitForEventInfo​(com.google.gson.JsonObject info)