public class Server extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static String |
PREFIX |
|
static String |
SERVER_HOST |
| Constructor | Description |
|---|---|
Server(InetAddress localAddress,
int localPort) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
Document |
getPeers(String email) |
|
void |
update(String email) |
This method will update public address on the web server.
|
public static final String SERVER_HOST
public static final String PREFIX
public Server(InetAddress localAddress, int localPort) throws IOException
IOExceptionCopyright © 2018. All rights reserved.