com.ibm.as400.access
Class ConnectionEvent
java.lang.Object
java.util.EventObject
com.ibm.as400.access.ConnectionEvent
- All Implemented Interfaces:
- Serializable
public class ConnectionEvent
extends EventObject
The ConnectionEvent class represents a Connection event.
- See Also:
- Serialized Form
Method Summary
int |
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 ID's are defined in the AS400 class.
- Returns:
- The service ID.