public abstract class USRRestConsole
extends cc.clayman.console.AbstractRestConsole
Constructor and Description |
---|
USRRestConsole()
The no arg Constructor.
|
Modifier and Type | Method and Description |
---|---|
Command |
find(java.lang.String commandName)
Find a command in the ManagementConsole.
|
Command |
findHandler(java.lang.String pattern)
Find a handler in the ManagementConsole.
|
void |
initialise(int port)
Construct a ManagementConsole, given a specific port.
|
void |
register(Command command)
Register a new command with the ManagementConsole.
|
boolean |
start()
Start the ManagementConsole.
|
defineRequestHandler, getAssociated, handle, leadin, setAssociated, stop
public void initialise(int port)
initialise
in interface cc.clayman.console.ManagementConsole
initialise
in class cc.clayman.console.AbstractRestConsole
public boolean start()
start
in interface cc.clayman.console.ManagementConsole
start
in class cc.clayman.console.AbstractRestConsole
public void register(Command command)
public Command find(java.lang.String commandName)
commandName
- The name of the commandpublic Command findHandler(java.lang.String pattern)
pattern
- The pattern for the handlerUser Space Routing 0.10.3