All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.davic.net.tuning.NetworkInterfaceEvent Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version

package org.davic.net.tuning;

/** Base class for events related to network interfaces.
  * Events that inherit from NetworkInterfaceEvent will
  * be sent to all registered listeners, when they are sent.
  */
public abstract class NetworkInterfaceEvent extends java.util.EventObject {

  /** The constructor for the event
    * @param networkInterface the network interface which the event
    * is generated for.
    */

  public NetworkInterfaceEvent(Object networkInterface) {
	super( (Object) networkInterface );
	}

  /** Returns the NetworkInterface that generated the event
    */
  public Object getSource() {
    return null;
  }
}








© 2015 - 2024 Weber Informatics LLC | Privacy Policy