This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.mail.event
class ConnectionEvent

javax.mail.event.MailEvent extended by javax.mail.event.ConnectionEvent

public class ConnectionEvent
extends MailEvent

This class models Connection events.

See Also (auto-generated):

Session

Transport

Message


Field Summary
static int CLOSED
          A connection was closed.
static int DISCONNECTED
          A connection was disconnected (not currently used).
static int OPENED
          A connection was opened.
protected int type
          The event type.
 
Constructor Summary
ConnectionEvent(Object source, int type)

          Constructor
 
Method Summary
 void
dispatch(Object listener)

          Invokes the appropriate ConnectionListener method
 int

          Return the type of this event
 
Methods inherited from class javax.mail.event.MailEvent
dispatch
 

Field Detail

CLOSED

public static final int CLOSED
A connection was closed.

DISCONNECTED

public static final int DISCONNECTED
A connection was disconnected (not currently used).

OPENED

public static final int OPENED
A connection was opened.

type

protected int type
The event type.
Constructor Detail

ConnectionEvent

public ConnectionEvent(Object source,
                       int type)
Constructor

Parameters:
source - The source object
type
Method Detail

dispatch

public void dispatch(Object listener)
Invokes the appropriate ConnectionListener method

Overrides:
dispatch in class MailEvent
Parameters:
listener

getType

public int getType()
Return the type of this event

Returns:
type


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.