X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FNewSoneFoundEvent.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FNewSoneFoundEvent.java;h=32c6b715fc7170e2e4f3cd66031a8e3ed2b6b5a3;hb=68eb3683d2dda01e06c03d7e77d38b99be2b748f;hp=0000000000000000000000000000000000000000;hpb=07a989369c3448af4a2f5d7c3557d4f8fc88ead0;p=Sone.git
diff --git a/src/main/java/net/pterodactylus/sone/core/event/NewSoneFoundEvent.java b/src/main/java/net/pterodactylus/sone/core/event/NewSoneFoundEvent.java
new file mode 100644
index 0000000..32c6b71
--- /dev/null
+++ b/src/main/java/net/pterodactylus/sone/core/event/NewSoneFoundEvent.java
@@ -0,0 +1,39 @@
+/*
+ * Sone - NewSoneFoundEvent.java - Copyright © 2013 David Roden
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+package net.pterodactylus.sone.core.event;
+
+import net.pterodactylus.sone.data.Sone;
+
+/**
+ * Event that signals that a new remote Sone was found.
+ *
+ * @author David âBombeâ Roden
+ */
+public class NewSoneFoundEvent extends SoneEvent {
+
+ /**
+ * Creates a new ânew Sone foundâ event.
+ *
+ * @param sone
+ * The Sone that was found
+ */
+ public NewSoneFoundEvent(Sone sone) {
+ super(sone);
+ }
+
+}