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.
-
ConnectionEvent(Object, int)
- Constructs a ConnectionEvent object.
-
getService()
- Returns the service ID.
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.
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