2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.mdsal.dom.api;
10 import java.time.Instant;
13 * Generic event interface. This interface is mixed in into implementations of other DOM-level constructs, such as
14 * {@link DOMNotification} to add the time when the event occurred when appropriate.
16 public interface DOMEvent {
18 * Get the time of the event occurrence.
20 * @return the event time
22 Instant getEventInstant();