--- /dev/null
+/*
+ * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.openflowjava.protocol.impl.clients;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for eventType.
+ */
+@XmlType(name = "eventType")
+@XmlEnum
+public enum EventType {
+
+ @XmlEnumValue("sleepEvent")
+ SLEEP_EVENT("sleepEvent"),
+ @XmlEnumValue("waitForMessageEvent")
+ WAIT_FOR_MESSAGE_EVENT("waitForMessageEvent"),
+ @XmlEnumValue("sendEvent")
+ SEND_EVENT("sendEvent");
+ private final String value;
+
+ EventType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EventType fromValue(String v) {
+ for (EventType c: EventType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}