Madan Jampani | 62744c2 | 2014-10-04 20:51:10 -0700 | [diff] [blame] | 1 | package org.onlab.netty; |
2 | |||||
3 | /** | ||||
4 | * State transitions a decoder goes through as it is decoding an incoming message. | ||||
5 | */ | ||||
6 | public enum DecoderState { | ||||
7 | READ_HEADER_VERSION, | ||||
8 | READ_PREAMBLE, | ||||
9 | READ_CONTENT_LENGTH, | ||||
10 | READ_SERIALIZER_VERSION, | ||||
11 | READ_CONTENT | ||||
12 | } |