Interface GatewayConnection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()  
      boolean connect()  
      java.time.Instant connectionTime()
      Returns the time this connected over the network, or null if not connected yet
      java.io.InputStream drain()
      Attempt to drain all outstanding operations, even if this leads to blocking
      Endpoint getEndpoint()  
      void handshake()  
      java.time.Instant lastPollTime()
      Returns the last time poll was called on this, or null if never
      java.io.InputStream poll()
      Returns any operation results that are ready now
      java.io.InputStream write​(java.util.List<Document> docs)