Skip to content
Snippets Groups Projects
Commit 6eb8ed93 authored by Andrew Ferguson's avatar Andrew Ferguson
Browse files

add a constructor which takes a port number

parent b2582ec0
No related branches found
No related tags found
No related merge requests found
......@@ -28,10 +28,15 @@ public class OFQueueGetConfigRequest extends OFMessage {
protected short portNumber;
public OFQueueGetConfigRequest() {
public OFQueueGetConfigRequest(short portNumber) {
super();
this.type = OFType.QUEUE_GET_CONFIG_REQUEST;
this.length = U16.t(MINIMUM_LENGTH);
this.portNumber = portNumber;
}
public OFQueueGetConfigRequest() {
this((short) 0);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment