org.apache.hadoop.oncrpc
Class SimpleUdpClient
java.lang.Object
org.apache.hadoop.oncrpc.SimpleUdpClient
public class SimpleUdpClient
- extends Object
A simple UDP based RPC client which just sends one request to a server.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
protected final String host
port
protected final int port
request
protected final XDR request
oneShot
protected final boolean oneShot
SimpleUdpClient
public SimpleUdpClient(String host,
int port,
XDR request)
SimpleUdpClient
public SimpleUdpClient(String host,
int port,
XDR request,
Boolean oneShot)
run
public void run()
throws IOException
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation