ServiceEvent.java
Go to the documentation of this file.
00001 // Copyright 2003-2005 Arthur van Hoff, Rick Blair
00002 // Licensed under Apache License version 2.0
00003 // Original license LGPL
00004 
00005 package javax.jmdns;
00006 
00007 import java.util.EventObject;
00008 
00012 public abstract class ServiceEvent extends EventObject implements Cloneable {
00013 
00017     private static final long serialVersionUID = -8558445644541006271L;
00018 
00027     public ServiceEvent(final Object eventSource) {
00028         super(eventSource);
00029     }
00030 
00036     public abstract JmDNS getDNS();
00037 
00043     public abstract String getType();
00044 
00050     public abstract String getName();
00051 
00058     public abstract ServiceInfo getInfo();
00059 
00060     /*
00061      * (non-Javadoc)
00062      * @see java.lang.Object#clone()
00063      */
00064     @Override
00065     public ServiceEvent clone() {
00066         try {
00067             return (ServiceEvent) super.clone();
00068         } catch (CloneNotSupportedException exception) {
00069             // clone is supported
00070             return null;
00071         }
00072     }
00073 
00074 }


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27