javax.net.ssl
Class SSLSessionBindingEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.net.ssl.SSLSessionBindingEvent

public class SSLSessionBindingEvent
extends java.util.EventObject

This event is communicated to a SSLSessionBindingListener whenever such a listener is bound to or unbound from a SSLSession value. The event's source is the SSLSession to which the listener is being bound, or from which the listener is being unbound.

Version:
1.7
Author:
Nathan Abramson, David Brownell
See Also:
SSLSession, SSLSessionBindingListener, Serialized Form

Constructor Summary
SSLSessionBindingEvent(SSLSession session, java.lang.String name)
          Constructs a new SSLSessionBindingEvent
 
Method Summary
 java.lang.String getName()
          Returns the name to which the object is being bound, or the name from which the object is being unbound.
 SSLSession getSession()
          Returns the SSLSession into which the listener is being bound or from which the listener is being unbound.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSLSessionBindingEvent

public SSLSessionBindingEvent(SSLSession session,
                              java.lang.String name)
Constructs a new SSLSessionBindingEvent
Parameters:
session - the SSLSession acting as the source of the event
Method Detail

getName

public java.lang.String getName()
Returns the name to which the object is being bound, or the name from which the object is being unbound.

getSession

public SSLSession getSession()
Returns the SSLSession into which the listener is being bound or from which the listener is being unbound.