public static class UnixDomainSocketAcceptanceTest.UnixDomainSocketFactory extends SocketFactory
SocketFactory
implementation
based on reflection into the junixsocket library.Constructor and Description |
---|
UnixDomainSocketAcceptanceTest.UnixDomainSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket()
Creates a org.newsclub.net.unix.AFUNIXSocket via reflection.
|
Socket |
createSocket(InetAddress host,
int port)
Always throws a
SocketException . |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
Always throws a
SocketException . |
Socket |
createSocket(String host,
int port)
Always throws a
SocketException . |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort)
Always throws a
SocketException . |
getDefault
public UnixDomainSocketAcceptanceTest.UnixDomainSocketFactory()
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress host, int port) throws SocketException
SocketException
.createSocket
in class SocketFactory
SocketException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws SocketException
SocketException
.createSocket
in class SocketFactory
SocketException
public Socket createSocket(String host, int port) throws SocketException
SocketException
.createSocket
in class SocketFactory
SocketException
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws SocketException
SocketException
.createSocket
in class SocketFactory
SocketException
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.