javauis/eswt_qt/com.nokia.swt.extensions/extensions/org/eclipse/swt/internal/extension/NetworkStatusListener.java
changeset 87 1627c337e51e
parent 80 d6dafc5d983f
equal deleted inserted replaced
80:d6dafc5d983f 87:1627c337e51e
     1 /*******************************************************************************
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved. This program and the accompanying materials
       
     4  * are made available under the terms of the Eclipse Public License v1.0
       
     5  * which accompanies this distribution, and is available at
       
     6  * http://www.eclipse.org/legal/epl-v10.html
       
     7  *
       
     8  * Contributors:
       
     9  *     Nokia Corporation - initial implementation
       
    10  *******************************************************************************/
       
    11 package org.eclipse.swt.internal.extension;
       
    12 
       
    13 /**
       
    14  * A listener interface used in connection with the class
       
    15  * <code>NetworkStatus</code>.
       
    16  */
       
    17 public interface NetworkStatusListener {
       
    18 	/**
       
    19 	 * Called by the class <code>NetworkStatus</code> in the UI thread to
       
    20 	 * provide the current state of the network connections.
       
    21 	 * 
       
    22 	 * @param newStateFlags
       
    23 	 *            Combination of flags representing the currently active network
       
    24 	 *            connections. The flags are defined in the class
       
    25 	 *            <code>NetworkStatus</code>.
       
    26 	 * @see NetworkStatus
       
    27 	 */
       
    28 	public void stateChanged(int newStateFlags);
       
    29 }