its.app
Class SddFlash
java.lang.Object
its.backbone.frame.ItsFrameReceiver
its.backbone.sdd.SddReceiver
its.app.SddFlash
- All Implemented Interfaces:
- java.lang.Runnable
- public class SddFlash
- extends SddReceiver
This application connects to an SDD data stream,
prints the data in the specified tables to standard
output in a tabular format (comma separated,
with column headers on the first line), and terminates.
The non-streaming behavior makes it useful to run
as a quick check from the command line, or in other
on-demand situations such as cgi scripts.
|
Constructor Summary |
SddFlash(boolean stream,
java.lang.String hostname,
int port,
java.util.Vector tables)
|
|
Method Summary |
void |
contentsReceived(Contents contents,
java.lang.String serialNum)
Subclasses can override this method to receive the incoming SDD Contents. |
void |
extractedDataReceived(java.util.Hashtable ht,
java.lang.String serialNum)
Subclasses can override this method to receive the incoming SDD data after it has
been processed into a table of ContentsData objects. |
static void |
main(java.lang.String[] args)
|
void |
schemaReceived(Schema schema,
java.lang.String serialNum)
Subclasses can override this method to receive the incoming SDD Schema. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SddFlash
public SddFlash(boolean stream,
java.lang.String hostname,
int port,
java.util.Vector tables)
throws java.io.IOException
schemaReceived
public void schemaReceived(Schema schema,
java.lang.String serialNum)
- Description copied from class:
SddReceiver
- Subclasses can override this method to receive the incoming SDD Schema.
- Overrides:
schemaReceived in class SddReceiver
contentsReceived
public void contentsReceived(Contents contents,
java.lang.String serialNum)
- Description copied from class:
SddReceiver
- Subclasses can override this method to receive the incoming SDD Contents.
- Overrides:
contentsReceived in class SddReceiver
extractedDataReceived
public void extractedDataReceived(java.util.Hashtable ht,
java.lang.String serialNum)
- Description copied from class:
SddReceiver
- Subclasses can override this method to receive the incoming SDD data after it has
been processed into a table of ContentsData objects.
- Overrides:
extractedDataReceived in class SddReceiver
main
public static void main(java.lang.String[] args)