2abd9c8fddc088c1006b934b4ea0e07ca241e39e
[bgpcep.git] / pcep / impl / src / main / java / org / opendaylight / protocol / pcep / impl / message / PCEPRawMessage.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.impl.message;
9
10 import java.util.List;
11
12 import org.opendaylight.protocol.pcep.PCEPMessage;
13 import org.opendaylight.protocol.pcep.PCEPObject;
14 import org.opendaylight.protocol.pcep.impl.PCEPMessageFactory.PCEPMessageType;
15
16 /**
17  * Class representing raw message.
18  */
19 public class PCEPRawMessage extends PCEPMessage {
20
21         private static final long serialVersionUID = 1075879993862417873L;
22
23         private final PCEPMessageType msgType;
24
25         public PCEPRawMessage(List<PCEPObject> objects, PCEPMessageType msgType) {
26                 super(objects);
27                 this.msgType = msgType;
28         }
29
30         public PCEPMessageType getMsgType() {
31                 return this.msgType;
32         }
33
34 }