Merge "Use groupings instead of data containers"
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / RawMessage.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.protocol.pcep.spi;
9
10 import java.util.List;
11
12 import org.opendaylight.protocol.pcep.PCEPMessage;
13 import org.opendaylight.protocol.pcep.PCEPObject;
14
15 /**
16  * Class representing raw message.
17  */
18 public class RawMessage extends PCEPMessage {
19         private final PCEPMessageType msgType;
20
21         public RawMessage(final List<PCEPObject> objects, final PCEPMessageType msgType) {
22                 super(objects);
23                 this.msgType = msgType;
24         }
25
26         public PCEPMessageType getMsgType() {
27                 return this.msgType;
28         }
29
30 }