Attempts to parse and return all OFHelloElement contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFHelloElement contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFInstruction contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFInstruction contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFMessages contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at the
ByteBuffer's limit.
Attempts to parse and return all OFMessages contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at the
ByteBuffer's limit.
Attempts to parse and return all OFMeterBands contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFMeterBands contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFQueueProperties contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFQueueProperties contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFStatistics contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFStatistics contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFTableFeaturesProperties contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
Attempts to parse and return all OFTableFeaturesProperties contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
This class contains a set of buckets (called time buckets as the
primarily contain 'times' that are used in a circular way to
store information on packet in processing time.
Reset or enable/disable counters
If using curl:
curl -X POST -d DATA -H "Content-Type: application/json" URL
where DATA must be one of the following:
{\"reset\":true} to reset counters
{\"enable\":true} to enable counter
{\"enable\":false} to disable counter
and URL must be in one of the following forms:
"http://{controller-hostname}:8080/wm/debugcounter/{param1}/{param2}/{param3}/{param4}
{param1} can be null, 'all' or the name of a module {moduleName}.
Reset events
If using curl:
curl -X POST -d {\"reset\":true} -H "Content-Type: application/json" URL
where URL must be in one of the following forms for resetting registered events:
"http://{controller-hostname}:8080/wm/debugevent/
"http://{controller-hostname}:8080/wm/debugevent/{param1}
"http://{controller-hostname}:8080/wm/debugevent/{param1}/{param2}
Not giving {param1} will reset all events
{param1} can be 'all' or the name of a module.
PriorityPendingQueue class - This class is a variant implementation for PriorityBlockingQueue
PriorityBlockingQueue implementation has two problems:
1.
The following implement a producer/consumer design pattern in which both
producers and consumers explicitly employ a centralized registration
mechanism, and java Interfaces are used as contracts.