public class UDPClient
extends java.lang.Object
Constructor and Description |
---|
UDPClient(int port) |
UDPClient(java.lang.String hostname,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
disconnect() |
boolean |
isAvailable() |
common.commandline.response.CommandResult |
receive() |
common.commandline.response.CommandResult |
send(common.commandline.Executable executable,
java.lang.Object[] args) |
void |
setHostname(java.lang.String hostname) |
void |
setPort(int port) |
public UDPClient(int port)
public UDPClient(java.lang.String hostname, int port)
public void connect()
public void disconnect()
public common.commandline.response.CommandResult send(common.commandline.Executable executable, java.lang.Object[] args)
public common.commandline.response.CommandResult receive()
public void setHostname(java.lang.String hostname)
public void setPort(int port)
public boolean isAvailable()