All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.atmosphere.jboss.websockets.oio.ClosingStrategy Maven / Gradle / Ivy

package org.atmosphere.jboss.websockets.oio;

import java.io.IOException;

/**
 * A closing strategy represents the strategy with which a socket should terminate its connection with the client,
 * if a condition arises that requires termination of the socket.
 *
 * @author Mike Brock
 */
public interface ClosingStrategy {
  /**
   * Close the socket.
   */
  public void doClose() throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy