use of org.projectfloodlight.openflow.protocol.OFType in project open-kilda by telstra.
the class MockFloodlightProvider method logListeners.
private void logListeners() {
for (Map.Entry<OFType, ListenerDispatcher<OFType, IOFMessageListener>> entry : listeners.entrySet()) {
OFType type = entry.getKey();
ListenerDispatcher<OFType, IOFMessageListener> ldd = entry.getValue();
StringBuffer sb = new StringBuffer();
sb.append("OFListeners for ");
sb.append(type);
sb.append(": ");
for (IOFMessageListener l : ldd.getOrderedListeners()) {
sb.append(l.getName());
sb.append(",");
}
log.debug(sb.toString());
}
}
use of org.projectfloodlight.openflow.protocol.OFType in project open-kilda by telstra.
the class InputService method activateSubscription.
private void activateSubscription(IFloodlightProviderService flProviderService, OFType... desiredTypes) {
for (OFType target : desiredTypes) {
log.debug("{} activate subscription for OFMessage with OFType.{}", this.getClass().getName(), target);
flProviderService.addOFMessageListener(target, this);
}
}
use of org.projectfloodlight.openflow.protocol.OFType in project open-kilda by telstra.
the class MockFloodlightProvider method logListeners.
private void logListeners() {
for (Map.Entry<OFType, ListenerDispatcher<OFType, IOFMessageListener>> entry : listeners.entrySet()) {
OFType type = entry.getKey();
ListenerDispatcher<OFType, IOFMessageListener> ldd = entry.getValue();
StringBuffer sb = new StringBuffer();
sb.append("OFListeners for ");
sb.append(type);
sb.append(": ");
for (IOFMessageListener l : ldd.getOrderedListeners()) {
sb.append(l.getName());
sb.append(",");
}
log.debug(sb.toString());
}
}
Aggregations