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 endEventParse(BaseStructure evioEvent)
          Done parsing a new evio structure.
 void gotStructure(BaseStructure evioEvent, IEvioStructure structure)
          This IEvioListener has received a structure as the result of an event being parsed.
static void main(java.lang.String[] args)
           
static void main2(java.lang.String[] args)
          Main program for testing
 void startEventParse(BaseStructure evioEvent)
          Starting to parse a new evio structure.
 
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)

main2

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

Parameters:
args - the command line arguments.

startEventParse

public void startEventParse(BaseStructure evioEvent)
Description copied from interface: IEvioListener
Starting to parse a new evio structure.

Specified by:
startEventParse in interface IEvioListener
Parameters:
evioEvent - the evio structure in question.

endEventParse

public void endEventParse(BaseStructure evioEvent)
Description copied from interface: IEvioListener
Done parsing a new evio structure.

Specified by:
endEventParse in interface IEvioListener
Parameters:
evioEvent - the evio structure in question.

gotStructure

public void gotStructure(BaseStructure 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.