Use event bus to activate and deactivate the FCP interface.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 28 Sep 2014 18:47:00 +0000 (20:47 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 28 Sep 2014 20:23:39 +0000 (22:23 +0200)
commit3233fad6a7cf276d13286f3ab7b5836fcabcf668
tree299c607b91e3afce41fbe255a81c332cf1c0422f
parentd5573f473d20716e78700cde845d3d5a55aa6f3f
Use event bus to activate and deactivate the FCP interface.
src/main/java/net/pterodactylus/sone/core/Core.java
src/main/java/net/pterodactylus/sone/core/Preferences.java
src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java
src/main/java/net/pterodactylus/sone/fcp/event/FcpInterfaceActivatedEvent.java [new file with mode: 0644]
src/main/java/net/pterodactylus/sone/fcp/event/FcpInterfaceDeactivatedEvent.java [new file with mode: 0644]
src/test/java/net/pterodactylus/sone/core/PreferencesTest.java
src/test/java/net/pterodactylus/sone/fcp/FcpInterfaceTest.java