gnu.inet.comsat

Class ComsatClient


public class ComsatClient
extends java.lang.Object

Simple comsat client.

Field Summary

static int
DEFAULT_PORT
The default comsat port.
protected DatagramSocket
socket

Constructor Summary

ComsatClient()
ComsatClient(int port, int timeout)

Method Summary

void
close()
ComsatInfo
read()

Field Details

DEFAULT_PORT

public static final int DEFAULT_PORT
The default comsat port.
Field Value:
512

socket

protected DatagramSocket socket

Constructor Details

ComsatClient

public ComsatClient()
            throws IOException

ComsatClient

public ComsatClient(int port,
                    int timeout)
            throws IOException

Method Details

close

public void close()
            throws IOException

read

public ComsatInfo read()
            throws IOException