@Override public OFStatistics instantiate() { return new OFPortStatisticsRequest(); } }, new Instantiable<OFStatistics>() {
OFPortStatisticsRequest specificReq = new OFPortStatisticsRequest(); specificReq.setPortNumber(targetPort); req.setStatistics(Collections .singletonList((OFStatistics) specificReq)); requestLength += specificReq.getLength(); type = "PORT"; } else if (statsType == OFStatisticsType.QUEUE) {
OFPortStatisticsRequest specificReq = new OFPortStatisticsRequest(); specificReq.setPortNumber(targetPort); req.setStatistics(Collections .singletonList((OFStatistics) specificReq)); requestLength += specificReq.getLength(); type = "PORT"; } else if (statsType == OFStatisticsType.QUEUE) {