Fixed TicketFinisher to catch *all* exceptions.
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / queue / Ticket.java
1 /**
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.openflowplugin.openflow.md.queue;
9
10 import org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductor;
11
12 /**
13  * @author mirehak
14  *
15  * @param <IN> source type of process ticket
16  * @param <OUT> resulting type of process ticket
17  */
18 public interface Ticket<IN, OUT> extends TicketResult<OUT> {
19
20     /**
21      * @return connection wrapper
22      */
23     ConnectionConductor getConductor();
24
25     /**
26      * @return processed message
27      */
28     IN getMessage();
29 }