org.jlab.coda.jevio
Class Demo

java.lang.Object
  extended by org.jlab.coda.jevio.Demo
All Implemented Interfaces:
java.util.EventListener, IEvioListener

public class Demo
extends java.lang.Object
implements IEvioListener

Used for demoing the JEvio library.

Author:
heddle

Constructor Summary
Demo()
           
 
Method Summary
 void gotStructure(EvioEvent evioEvent, IEvioStructure structure)
          This IEvioListener has received a structure as the result of an event being parsed.
static void main(java.lang.String[] args)
          Main program for testing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Demo

public Demo()
Method Detail

main

public static void main(java.lang.String[] args)
Main program for testing

Parameters:
args - the command line arguments.

gotStructure

public void gotStructure(EvioEvent evioEvent,
                         IEvioStructure structure)
This IEvioListener has received a structure as the result of an event being parsed.

Specified by:
gotStructure in interface IEvioListener
Parameters:
evioEvent - the event being parsed.
structure - the structure that I received. It is a BANK, SEGEMENT or TAGSEGMENT.