All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lrgs.ldds.LddsCommand Maven / Gradle / Ivy

Go to download

A collection of software for aggregatting and processing environmental data such as from NOAA GOES satellites.

The newest version!
/*
*  $Id$
*/
package lrgs.ldds;

import java.io.IOException;

import lrgs.common.*;

/**
Base class for all server request commands.
*/
public abstract class LddsCommand
{
	/**
	 * @return the command type as a string.
	 */
	public abstract String cmdType();

	/**
	  Executes the command.
	  @param ldds the server thread object holding connection to client.
	  @throws ArchiveException on request processing error.
	  @throws IOException if error returning response to user (hangup).
	*/
	public abstract int execute(LddsThread ldds)
		throws ArchiveException, IOException;

	/**
	 * @return one of the valid DDS command codes.
	 */
	public abstract char getCommandCode();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy