Class SocketFactory (0.2.0)

public class SocketFactory extends SocketFactory

Inheritance

java.lang.Object > SocketFactory > SocketFactory

Constructors

SocketFactory(Properties properties)

public SocketFactory(Properties properties)
Parameter
NameDescription
propertiesProperties

Methods

createSocket()

public Socket createSocket()
Returns
TypeDescription
Socket
Overrides
Exceptions
TypeDescription
IOException

createSocket(String host, int port)

public Socket createSocket(String host, int port)
Parameters
NameDescription
hostString
portint
Returns
TypeDescription
Socket
Overrides

createSocket(String host, int port, InetAddress localHost, int localPort)

public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
Parameters
NameDescription
hostString
portint
localHostInetAddress
localPortint
Returns
TypeDescription
Socket
Overrides

createSocket(InetAddress host, int port)

public Socket createSocket(InetAddress host, int port)
Parameters
NameDescription
hostInetAddress
portint
Returns
TypeDescription
Socket
Overrides

createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)

public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
Parameters
NameDescription
addressInetAddress
portint
localAddressInetAddress
localPortint
Returns
TypeDescription
Socket
Overrides