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
IOException
public Socket createSocket() throws IOException
IOException
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
IOException
UnknownHostException
public Socket createSocket(InetAddress host, int port) throws IOException
IOException
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
IOException
UnknownHostException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.