Interface IServerCommand
- 
- All Known Implementing Classes:
- HolepunchRequest,- Listen,- Quit,- Register,- Register,- ReportUdpIp,- ReportUdpPort,- SendMeUdp,- ShowIp
 
 public interface IServerCommandCommand executable on the server.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringexecute(java.lang.String cmd, java.lang.String[] args, IConnectedHost connectedhost)Executes the command.booleanisApplicable(java.lang.String cmd)Tests if applicable.
 
- 
- 
- 
Method Detail- 
isApplicableboolean isApplicable(java.lang.String cmd) Tests if applicable.- Parameters:
- cmd-
- Returns:
- True, if applicable.
 
 - 
executejava.lang.String execute(java.lang.String cmd, java.lang.String[] args, IConnectedHost connectedhost)Executes the command.- Parameters:
- cmd- The command string.
- args- The arguments.
- connectedhost- The connection.
- Returns:
- The response.
 
 
- 
 
-