gnu.inet.http.event
Class ConnectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gnu.inet.http.event.ConnectionEvent
All Implemented Interfaces:
java.io.Serializable

public class ConnectionEvent
extends java.util.EventObject

A connection event.

See Also:
Serialized Form

Field Summary
static int CONNECTION_CLOSED
          The connection closed event type.
protected  int type
          The type of this event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConnectionEvent(java.lang.Object source, int type)
          Constructs a connection event with the specified source and type.
 
Method Summary
 int getType()
          Returns the type of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONNECTION_CLOSED

public static final int CONNECTION_CLOSED
The connection closed event type.

See Also:
Constant Field Values

type

protected int type
The type of this event.

Constructor Detail

ConnectionEvent

public ConnectionEvent(java.lang.Object source,
                       int type)
Constructs a connection event with the specified source and type.

Method Detail

getType

public int getType()
Returns the type of this event.

See Also:
type