lrgs.noaaportrecv.NoaaportTestSvr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opendcs Show documentation
Show all versions of opendcs Show documentation
A collection of software for aggregatting and processing environmental data such as from NOAA GOES satellites.
The newest version!
package lrgs.noaaportrecv;
import java.io.IOException;
import java.net.Socket;
import ilex.gui.JobDialog;
import ilex.net.BasicServer;
import ilex.net.BasicSvrThread;
public class NoaaportTestSvr extends BasicServer {
private int myPort;
private JobDialog myDialog = null;
@Override
protected BasicSvrThread newSvrThread(Socket sock) throws IOException {
return new NoaaportTestSvrThread(this, sock,myDialog);
}
public NoaaportTestSvr(int port, JobDialog tmp) throws IOException, IllegalArgumentException
{
super(port);
myDialog = tmp;
myDialog.addToProgress("Starting Up Server");
myPort = port;
}
}