Package org.jlab.io.evio
Class EvioETSource
java.lang.Object
org.jlab.io.evio.EvioETSource
- All Implemented Interfaces:
DataSource
- Author:
- gavalian
-
Constructor Summary
ConstructorsConstructorDescriptionEvioETSource
(String host) EvioETSource
(String host, int port) EvioETSource
(String host, int port, String station) EvioETSource
(String host, String station) EvioETSource
(String host, String station, int max_events) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
int
getEventList
(int nrecords) getEventList
(int start, int stop) int
getSize()
getType()
gotoEvent
(int index) boolean
hasEvent()
void
static void
void
void
void
open
(ByteBuffer buff) void
void
reset()
final void
void
-
Constructor Details
-
EvioETSource
public EvioETSource() -
EvioETSource
-
EvioETSource
-
EvioETSource
-
EvioETSource
-
EvioETSource
-
-
Method Details
-
setRemote
-
hasEvent
public boolean hasEvent()- Specified by:
hasEvent
in interfaceDataSource
-
open
- Specified by:
open
in interfaceDataSource
-
open
- Specified by:
open
in interfaceDataSource
-
clearEvents
public void clearEvents() -
loadEvents
public void loadEvents() -
open
- Specified by:
open
in interfaceDataSource
-
close
public void close()- Specified by:
close
in interfaceDataSource
-
getSize
public int getSize()- Specified by:
getSize
in interfaceDataSource
-
getEventList
- Specified by:
getEventList
in interfaceDataSource
-
getEventList
- Specified by:
getEventList
in interfaceDataSource
-
putEvents
public void putEvents() -
getNextEvent
- Specified by:
getNextEvent
in interfaceDataSource
-
getPreviousEvent
- Specified by:
getPreviousEvent
in interfaceDataSource
-
gotoEvent
- Specified by:
gotoEvent
in interfaceDataSource
-
reset
public void reset()- Specified by:
reset
in interfaceDataSource
-
getCurrentIndex
public int getCurrentIndex()- Specified by:
getCurrentIndex
in interfaceDataSource
-
main
-
getType
- Specified by:
getType
in interfaceDataSource
-
waitForEvents
public void waitForEvents()- Specified by:
waitForEvents
in interfaceDataSource
-