gnu.inet.http.event

Class ConnectionEvent


public class ConnectionEvent
extends EventObject

A connection event.

Field Summary

static int
CONNECTION_CLOSED
The connection closed event type.
protected int
type
The type of this event.

Constructor Summary

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

Method Summary

int
getType()
Returns the type of this event.

Field Details

CONNECTION_CLOSED

public static final int CONNECTION_CLOSED
The connection closed event type.
Field Value:
0

type

protected int type
The type of this event.

Constructor Details

ConnectionEvent

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

Method Details

getType

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