FileDocCategorySizeDatePackage
SSLSessionBindingEvent.javaAPI DocAndroid 1.5 API2356Wed May 06 22:41:06 BST 2009javax.net.ssl

SSLSessionBindingEvent

public class SSLSessionBindingEvent extends EventObject implements Serializable
The event sent to an {@code SSLSessionBindingListener} when the listener object is bound ({@link SSLSession#putValue(String, Object)}) or unbound ({@link SSLSession#removeValue(String)}) to an {@code SSLSession}.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private String
name
Constructors Summary
public SSLSessionBindingEvent(SSLSession session, String name)
Creates a new {@code SSLSessionBindingEvent} for the specified session indicating a binding event for the specified name.

param
session the session for which the event occurs.
param
name the name of the object being (un)bound.
since
Android 1.0


                                                                      
         
        super(session);
        this.name = name;
    
Methods Summary
public java.lang.StringgetName()
Returns the name of the binding being added or removed.

return
the name of the binding.
since
Android 1.0

        return name;
    
public javax.net.ssl.SSLSessiongetSession()
Returns the session to which the binding is added or from which it is removed.

return
the session to which the binding is added or from which it is removed.
since
Android 1.0

        return (SSLSession)this.source;