Class ConnectionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--ConnectionEvent
All Implemented Interfaces:
java.io.Serializable

public class ConnectionEvent
extends java.awt.AWTEvent

ConnectionEvent instances describe the current status of the data transfer and are passed by the DataProvider implementation to jScope by means of ConnectionListener.processConnectionEvent method. ConnectionEvent instances can also signal a connection lost. In this case field id (inherited by AWTEvent) is set to CponnectionEvent.LOST_CONNECTION, otherwise field id should be set to 0.

See Also:
Listener, DataProvider, Serialized Form

Field Summary
static int LOST_CONNECTION
           
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConnectionEvent(java.lang.Object source, int total_size, int current_size)
           
ConnectionEvent(java.lang.Object source, int event_id, java.lang.String info)
           
ConnectionEvent(java.lang.Object source, java.lang.String info)
           
ConnectionEvent(java.lang.Object source, java.lang.String info, int total_size, int current_size)
           
 
Methods inherited from class java.awt.AWTEvent
consume, finalize, getID, isConsumed, paramString, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOST_CONNECTION

public static final int LOST_CONNECTION
Constructor Detail

ConnectionEvent

public ConnectionEvent(java.lang.Object source,
                       java.lang.String info,
                       int total_size,
                       int current_size)

ConnectionEvent

public ConnectionEvent(java.lang.Object source,
                       int total_size,
                       int current_size)

ConnectionEvent

public ConnectionEvent(java.lang.Object source,
                       java.lang.String info)

ConnectionEvent

public ConnectionEvent(java.lang.Object source,
                       int event_id,
                       java.lang.String info)