org.jacorb.orb.listener
Class SSLListenerUtil
java.lang.Object
org.jacorb.orb.listener.SSLListenerUtil
public class SSLListenerUtil
- extends java.lang.Object
SSLListenerUtil
contains utility methods for processing
SSL exceptions and adding a listener to a SSLSocket. This class is used
with the listeners.
- Version:
- $Id: SSLListenerUtil.java.ssl,v 1.2 2009-05-05 16:38:53 alexander.bykov Exp $
- Author:
- Nick Cross
Method Summary |
static void |
addListener(ORB orb,
java.net.Socket socket)
addListener adds a handshake listener to a specific
socket.SSLListenerUtil |
static void |
processException(ORB orb,
IIOPConnection iiop,
java.net.Socket socket,
java.io.IOException ex)
processException examines the supplied exception for an
SSLException and can notify a listener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLListenerUtil
public SSLListenerUtil()
addListener
public static void addListener(ORB orb,
java.net.Socket socket)
addListener
adds a handshake listener to a specific
socket.SSLListenerUtil
- Parameters:
socket
- a Socket
value
processException
public static void processException(ORB orb,
IIOPConnection iiop,
java.net.Socket socket,
java.io.IOException ex)
processException
examines the supplied exception for an
SSLException and can notify a listener.
- Parameters:
ex
- an IOException
value