‚Äč
com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory Class Reference

Inherits SSLSocketFactory.

Public Member Functions

Socket createSocket () throws IOException
 
Socket createSocket (String host, int port) throws IOException
 
Socket createSocket (InetAddress address, int port) throws IOException
 
Socket createSocket (String host, int port, InetAddress clientAddress, int clientPort) throws IOException
 
Socket createSocket (InetAddress address, int port, InetAddress clientAddress, int clientPort) throws IOException
 
Socket createSocket (Socket socket, String host, int port, boolean autoClose) throws IOException
 
String[] getDefaultCipherSuites ()
 
String[] getSupportedCipherSuites ()
 

Static Public Member Functions

static Network setNetwork (Network network)
 
static synchronized SocketFactory getDefault (Network network)
 

Detailed Description

A MobiledgeX SSLSocketFactory that originates from a particular network interface that is powered up. This is a thin wrapper over the default SSLContext's SSLSocketFactory "SocketFactory" implementation.

Member Function Documentation

◆ createSocket() [1/6]

Socket com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory.createSocket ( ) throws IOException

Returns a network bound SSLSocket

Returns
Socket
Exceptions
IOException

◆ createSocket() [2/6]

Socket com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory.createSocket ( InetAddress  address,
int  port 
) throws IOException

Returns a network bound SSLSocket

Parameters
address(InetAddress)
port(int)
Returns
Socket
Exceptions
IOException

◆ createSocket() [3/6]

Socket com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory.createSocket ( InetAddress  address,
int  port,
InetAddress  clientAddress,
int  clientPort 
) throws IOException

Returns a network bound SSLSocket. Interface override requirement. Conflicting goals. Client address is that of the bound network.

Parameters
address(InetAddress)
port(int)
clientAddress(InetAddress)
clientPort(int)
Returns
Socket
Exceptions
IOException

◆ createSocket() [4/6]

Socket com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory.createSocket ( Socket  socket,
String  host,
int  port,
boolean  autoClose 
) throws IOException

Returns a network bound SSLSocket

Parameters
socket(Socket)
host(String)
port(int)
autoClose(boolean)
Returns
Socket
Exceptions
IOException

◆ createSocket() [5/6]

Socket com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory.createSocket ( String  host,
int  port 
) throws IOException

Returns a network bound SSLSocket

Parameters
host(String)
port(int)
Returns
Socket
Exceptions
IOException

◆ createSocket() [6/6]

Socket com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory.createSocket ( String  host,
int  port,
InetAddress  clientAddress,
int  clientPort 
) throws IOException

Returns a network bound SSLSocket. Interface override requirement. Conflicting goals. Client address is that of the bound network.

Parameters
host(String)
port(int)
clientAddress(InetAddress)
clientPort(int)
Returns
Socket
Exceptions
IOException

◆ getDefault()

static synchronized SocketFactory com.mobiledgex.matchingengine.MobiledgeXSSLSocketFactory.getDefault ( Network  network)
static

Check return. May be null if SSL is missing.

Returns
SocketFactory