src.main.java.com.github.toolarium.icap.client.ICAPConnectionManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toolarium-icap-client Show documentation
Show all versions of toolarium-icap-client Show documentation
Implements an ICAP client compliant with RFC 3507.
The newest version!
/*
* ICAPConnectionHandler.java
*
* Copyright by toolarium, all rights reserved.
*/
package com.github.toolarium.icap.client;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
/**
* Defines the connection manager
*
* @author patrick
*/
public interface ICAPConnectionManager {
/**
* Create a socket connection to the ICAP.
*
* @param hostname the name of the host to connect
* @param port the port
* @param secureConnection true to use secured SSL connection
* @return the socket / SSL socket
* @throws UnknownHostException In case of unknown host
* @throws IOException In case of an I/O error
*/
Socket createSocket(String hostname, int port, boolean secureConnection) throws UnknownHostException, IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy