Package org.mandas.docker.client
Class EventStream
- java.lang.Object
-
- org.mandas.docker.client.EventStream
-
-
Constructor Summary
Constructors Constructor Description EventStream(InputStream stream, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
Event
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
EventStream
public EventStream(InputStream stream, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-