Package org.mandas.docker.client
Class EventReader
- java.lang.Object
-
- org.mandas.docker.client.EventReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class EventReader extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description EventReader(InputStream stream, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
-
Constructor Detail
-
EventReader
public EventReader(InputStream stream, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
nextMessage
public Event nextMessage() throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-