
public class OSocketFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
protected SSLContext |
createSSLContext() |
protected InputStream |
getAsStream(String path) |
protected SSLContext |
getSSLContext() |
static OSocketFactory |
instance(OContextConfiguration iConfig) |
public static OSocketFactory instance(OContextConfiguration iConfig)
protected SSLContext getSSLContext()
protected SSLContext createSSLContext()
protected InputStream getAsStream(String path) throws IOException
IOExceptionpublic Socket createSocket() throws IOException
IOExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
IOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException
IOExceptionpublic Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
IOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.