public class SSLListenerUtil extends Object
SSLListenerUtil
contains utility methods for processing
SSL exceptions and adding a listener to a SSLSocket. This class is used
with the listeners.Constructor and Description |
---|
SSLListenerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addListener(ORB orb,
Socket socket)
addListener adds a handshake listener to a specific
socket.SSLListenerUtil |
static void |
processException(ORB orb,
IIOPConnection iiop,
Socket socket,
IOException ex)
processException examines the supplied exception for an
SSLException and can notify a listener. |
public static void addListener(ORB orb, Socket socket)
addListener
adds a handshake listener to a specific
socket.SSLListenerUtilsocket
- a Socket
valuepublic static void processException(ORB orb, IIOPConnection iiop, Socket socket, IOException ex)
processException
examines the supplied exception for an
SSLException and can notify a listener.ex
- an IOException
valueCopyright © 2017 JacORB. All rights reserved.