Package org.opendaylight.protocol.util
Class PCEPHexDumpParser
- java.lang.Object
-
- org.opendaylight.protocol.util.PCEPHexDumpParser
-
public final class PCEPHexDumpParser extends Object
Parses PCEP messages from a text file. Messages need to follow this formatting. Received PCEP Open message. Length:28. 20 01 00 1c 01 10 00 18 20 1e 78 03 00 10 00 04 00 00 00 05 00 1a 00 04 00 00 00 b4
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<byte[]>
parseMessages(File file)
static List<byte[]>
parseMessages(InputStream is)
-
-
-
Method Detail
-
parseMessages
public static List<byte[]> parseMessages(File file) throws IOException
- Throws:
IOException
-
parseMessages
public static List<byte[]> parseMessages(InputStream is) throws IOException
- Throws:
IOException
-
-