Package org.jlab.io.bos
Class BosDataSource
java.lang.Object
org.jlab.io.bos.BosDataSource
- All Implemented Interfaces:
- DataSource
- Author:
- gavalian
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voiddumpBufferToFile(String filename) intgetEventList(int nrecords) getEventList(int start, int stop) intgetSize()getType()gotoEvent(int index) booleanhasEvent()voidvoidvoidopen(ByteBuffer buff) voidreset()voidvoid
- 
Constructor Details- 
BosDataSourcepublic BosDataSource()
 
- 
- 
Method Details- 
open- Specified by:
- openin interface- DataSource
 
- 
open- Specified by:
- openin interface- DataSource
 
- 
open- Specified by:
- openin interface- DataSource
 
- 
closepublic void close()- Specified by:
- closein interface- DataSource
 
- 
getSizepublic int getSize()- Specified by:
- getSizein interface- DataSource
 
- 
getEventList- Specified by:
- getEventListin interface- DataSource
 
- 
getEventList- Specified by:
- getEventListin interface- DataSource
 
- 
dumpBufferToFile
- 
showIndexpublic void showIndex()
- 
getNextEvent- Specified by:
- getNextEventin interface- DataSource
 
- 
resetpublic void reset()- Specified by:
- resetin interface- DataSource
 
- 
getCurrentIndexpublic int getCurrentIndex()- Specified by:
- getCurrentIndexin interface- DataSource
 
- 
hasEventpublic boolean hasEvent()- Specified by:
- hasEventin interface- DataSource
 
- 
getPreviousEvent- Specified by:
- getPreviousEventin interface- DataSource
 
- 
gotoEvent- Specified by:
- gotoEventin interface- DataSource
 
- 
getType- Specified by:
- getTypein interface- DataSource
 
- 
waitForEventspublic void waitForEvents()- Specified by:
- waitForEventsin interface- DataSource
 
 
-