| Constructor and Description | 
|---|
RpcReceiveTool()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getName()
Name of tool, to be used in listings. 
 | 
String | 
getShortDescription()
1-line description to be used in command listings. 
 | 
int | 
run(InputStream in,
   PrintStream out,
   PrintStream err,
   List<String> args)
Runs the tool with supplied arguments. 
 | 
public String getName()
Toolpublic String getShortDescription()
ToolgetShortDescription in interface Toolpublic int run(InputStream in, PrintStream out, PrintStream err, List<String> args) throws Exception
Toolrun in interface Toolin - Input stream to read data (typically System.in).out - Output of tool (typically System.out).err - Error stream (typically System.err).args - Non-null list of arguments.Exception - Just like main(), tools may throw Exception.Copyright © 2009–2019 The Apache Software Foundation. All rights reserved.