public class NetworkManager extends Object
| Constructor and Description |
|---|
NetworkManager(int port) |
| Modifier and Type | Method and Description |
|---|---|
static void |
findIPAddress(ActionListener listener) |
Event<? extends Exception> |
getErrorEvent() |
static String |
getHostName() |
static String |
getIpAddress() |
static String |
getIpAddresses() |
int |
getPort() |
Event<String[]> |
getReceiveEvent() |
void |
send(String host,
String... strings) |
String |
sendHttp(String url,
Map<String,Object> params) |
void |
start() |
void |
stop() |
public static void findIPAddress(ActionListener listener)
public static String getHostName()
public static String getIpAddress()
public static String getIpAddresses()
public int getPort()
public void stop()
public void start()
throws IOException
IOException