javauis/eswt_qt/com.nokia.swt.extensions/extensions/org/eclipse/swt/internal/extension/NetworkStatusListener.java
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 15:47:24 +0300
changeset 23 98ccebc37403
permissions -rw-r--r--
Revision: v2.1.24 Kit: 201019

/*******************************************************************************
 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Nokia Corporation - initial implementation
 *******************************************************************************/
package org.eclipse.swt.internal.extension;

/**
 * A listener interface used in connection with the class
 * <code>NetworkStatus</code>.
 */
public interface NetworkStatusListener {
	/**
	 * Called by the class <code>NetworkStatus</code> in the UI thread to
	 * provide the current state of the network connections.
	 * 
	 * @param newStateFlags
	 *            Combination of flags representing the currently active network
	 *            connections. The flags are defined in the class
	 *            <code>NetworkStatus</code>.
	 * @see NetworkStatus
	 */
	public void stateChanged(int newStateFlags);
}