org.jacorb.orb.listener
Class SSLListenerUtil

java.lang.Object
  extended by 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.1 2006/06/26 08:08:24 alphonse.bendt Exp $
Author:
Nick Cross

Constructor Summary
SSLListenerUtil()
           
 
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
 

Constructor Detail

SSLListenerUtil

public SSLListenerUtil()
Method Detail

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