ibi Patterns .NET API
Loading...
Searching...
No Matches
NetricsServerInterface.NetricsBaseRecSrc Interface Reference

Generic interface for reading records. More...

Public Member Functions

bool  hasNext ()
  Returns true if the source has more records.
 
NetricsBaseRecord  getNext ()
  Returns the next record.
 
void  reset ()
  Reset the source to the first record.
 

Detailed Description

Generic interface for reading records.

This interface defines how sets of records are passed in the API. When a constructor or method needs a set of records it expects an object that implements this interface. By creating a class that implements this interface the user can feed records from any source directly into the API. The API can then stream these records into the engine.

The .NET interface comes with two predefined implementations of the NetricsTableRecSrc interface: NetricsArrayRecSrc is a simple array of records, NetricsCSVRecSrc reads records from a standard format CSV file.

See also
NetricsArrayRecSrc, NetricsCSVRecSrc

Member Function Documentation

◆ getNext()

◆ reset()