public class SimpleUdpClient extends Object
Modifier and Type | Field and Description |
---|---|
protected DatagramSocket |
clientSocket |
protected String |
host |
protected boolean |
oneShot |
protected int |
port |
protected XDR |
request |
Constructor and Description |
---|
SimpleUdpClient(String host,
int port,
XDR request,
Boolean oneShot,
DatagramSocket clientSocket) |
SimpleUdpClient(String host,
int port,
XDR request,
DatagramSocket clientSocket) |
protected final String host
protected final int port
protected final XDR request
protected final boolean oneShot
protected final DatagramSocket clientSocket
public SimpleUdpClient(String host, int port, XDR request, DatagramSocket clientSocket)
public SimpleUdpClient(String host, int port, XDR request, Boolean oneShot, DatagramSocket clientSocket)
public void run() throws IOException
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.