@ThreadSafe public class CvsTimeoutSocketFactory extends SocketFactory
Constructor and Description |
---|
CvsTimeoutSocketFactory(int cvsSocketTimeoutMs) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress clientAddress,
int clientPort) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress clientAddress,
int clientPort) |
static CvsTimeoutSocketFactory |
getInstance() |
getDefault
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress clientAddress, int clientPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) throws IOException
createSocket
in class SocketFactory
IOException
public static CvsTimeoutSocketFactory getInstance()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.