O'Reilly logo

Software Defined Networks, 2nd Edition by Timothy Culver, Chuck Black, Paul Goransson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B

Blacklist Application

The source code included in this appendix may be downloaded from: www.tallac.com/SDN/get-started/.

B.1 MessageListener

//================================================================

// from Floodlight controller.

//================================================================

public class MessageListener implements IOFMessageListener

{

 private static final MessageListener INSTANCE =

 new MessageListener();

 private static IFloodlightProviderService mProvider;

 private MessageListener() {} // private constructor

 public static MessageListener getInstance() {

 return INSTANCE;

 }

 //-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required