public class ComsatClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT
The default comsat port.
|
protected java.net.DatagramSocket |
socket |
Constructor and Description |
---|
ComsatClient() |
ComsatClient(int port,
int timeout) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ComsatInfo |
read() |
public static final int DEFAULT_PORT
protected java.net.DatagramSocket socket
public ComsatClient() throws java.io.IOException
java.io.IOException
public ComsatClient(int port, int timeout) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public ComsatInfo read() throws java.io.IOException
java.io.IOException