Package com.github.fungal.api.remote
Interface Communicator
- All Known Implementing Classes:
CommunicatorImpl
public interface Communicator
The Communicator bean allows to register commands at run-time.
Usage: Communicator communicator = kernel.getBean("Communicator", Communicator.class);
- Author:
- Jesper Pedersen
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterCommand(Command command) Register commandvoidunregisterCommand(Command command) Unregister command
-
Method Details
-
registerCommand
Register command- Parameters:
command- The command
-
unregisterCommand
Unregister command- Parameters:
command- The command
-