예제 #1
0
 public IOFConnection getConnection(LogicalOFMessageCategory category) {
   if (switchManager.isCategoryRegistered(category)) {
     return getConnection(category.getAuxId());
   } else {
     throw new IllegalArgumentException(
         category + " is not registered with the floodlight provider service.");
   }
 }