Class ExecWebSocketListener

java.lang.Object
okhttp3.WebSocketListener
io.fabric8.kubernetes.client.dsl.internal.ExecWebSocketListener
All Implemented Interfaces:
ExecWatch, Closeable, AutoCloseable

public class ExecWebSocketListener
extends okhttp3.WebSocketListener
implements ExecWatch, AutoCloseable
A WebSocketListener for exec operations. This listener, is only responsible for the resources it creates. Externally passed resource, will not get closed, by this listener. All other resources will be cleaned up once, ONLY when the close() method is called. ExecListener methods, onClose() and onFailure are mutually exclusive and are meant to be called once and only once. Failures that propagate after a close() operation will not be propagated.