Class ReportUdpPort
- java.lang.Object
- 
- org.activecomponents.udp.holepunching.server.commands.ReportUdpPort
 
- 
- All Implemented Interfaces:
- IServerCommand
 
 public class ReportUdpPort extends java.lang.Object implements IServerCommand 
- 
- 
Constructor SummaryConstructors Constructor Description ReportUdpPort()
 - 
Method SummaryAll Methods Instance Methods Concrete 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- 
isApplicablepublic boolean isApplicable(java.lang.String cmd) Tests if applicable.- Specified by:
- isApplicablein interface- IServerCommand
- Parameters:
- cmd-
- Returns:
- True, if applicable.
 
 - 
executepublic java.lang.String execute(java.lang.String cmd, java.lang.String[] args, IConnectedHost connectedhost)Executes the command.- Specified by:
- executein interface- IServerCommand
- Parameters:
- cmd- The command string.
- args- The arguments.
- connectedhost- The connection.
- Returns:
- The response.
 
 
- 
 
-