All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.ConnectionEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.as400.access.ConnectionEvent

public class ConnectionEvent
extends EventObject
The ConnectionEvent class represents a Connection event.


Constructor Index

 o ConnectionEvent(Object, int)
Constructs a ConnectionEvent object.

Method Index

 o getService()
Returns the service ID.

Constructors

 o ConnectionEvent
 public ConnectionEvent(Object source,
                        int service)
Constructs a ConnectionEvent object. It uses the specified source and service.

Parameters:
source - The object where the event originated.
service - The service ID.

Methods

 o getService
 public int getService()
Returns the service ID. This identifies the service that was connected or disconnected. The service IDs are defined in the AS400 class.

Returns:
The service ID.

All Packages  Class Hierarchy  This Package  Previous  Next  Index