Go to the documentation of this file.00001 
00002 
00003 
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 
00062 
00063 
00064     @Override
00065     public ServiceEvent clone() {
00066         try {
00067             return (ServiceEvent) super.clone();
00068         } catch (CloneNotSupportedException exception) {
00069             
00070             return null;
00071         }
00072     }
00073 
00074 }