src.com.ibm.as400.resource.ActiveStatusListener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400 Show documentation
Show all versions of jt400 Show documentation
The Open Source version of the IBM Toolbox for Java
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: ActiveStatusListener.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 1997-2000 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.resource;
import java.util.EventListener;
/**
The ActiveStatusListener represents a listener for ActiveStatusEvents.
@deprecated Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.
**/
public interface ActiveStatusListener
extends EventListener
{
/**
Invoked when the active status changes to busy. This indicates
that a potentially long-running operation has started.
@param event The event.
**/
public abstract void busy(ActiveStatusEvent event);
/**
Invoked when the active status changes to idle. This indicates
that a potentially long-running operation has ended.
@param event The event.
**/
public abstract void idle(ActiveStatusEvent event);
}