| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.tool.RpcReceiveTool
public class RpcReceiveTool
Receives one RPC call and responds. (The moral equivalent of "netcat".)
| Constructor Summary | |
|---|---|
| RpcReceiveTool() | |
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RpcReceiveTool()
| Method Detail | 
|---|
public String getName()
Tool
getName in interface Toolpublic String getShortDescription()
Tool
getShortDescription in interface Tool
public int run(InputStream in,
               PrintStream out,
               PrintStream err,
               List<String> args)
        throws Exception
Tool
run 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.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||