
javax.tv.service.transport.NetworkChangeEvent Maven / Gradle / Ivy
/*
* @(#)NetworkChangeEvent.java 1.29 00/09/05
*
* Copyright 1998-2000 by Sun Microsystems, Inc.,
* 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
* All rights reserved.
*
* This software is the confidential and proprietary information
* of Sun Microsystems, Inc. ("Confidential Information"). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Sun.
*/
package javax.tv.service.transport;
import javax.tv.service.*;
/**
* A NetworkChangeEvent
notifies an
* NetworkChangeListener
of changes detected in a
* NetworkCollection
. Specifically, this event
* signals the addition, removal, or modification of a
* Network
.
*
* @see NetworkCollection
* @see Network
*/
public class NetworkChangeEvent extends TransportSIChangeEvent {
/**
* Constructs a NetworkChangeEvent
.
*
* @param collection The network collection in which the change
* occurred.
*
* @param type The type of change that occurred.
*
* @param n The Network
that changed.
*/
public NetworkChangeEvent(NetworkCollection collection,
SIChangeType type, Network n) {
super(null,null,null);
}
/**
* Reports the NetworkCollection
that generated the
* event. It will be identical to the object returned by the
* getTransport()
method.
*
* @return The NetworkCollection
that generated the
* event.
*/
public NetworkCollection getNetworkCollection() {
return null;
}
/**
* Reports the Network
that changed. It will be
* identical to the object returned by the inherited
* SIChangeEvent.getSIElement
method.
*
* @return The Network
that changed. */
public Network getNetwork() {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy