Package com.solab.iso8583
Interface TraceNumberGenerator
-
- All Known Implementing Classes:
SimpleTraceGenerator
public interface TraceNumberGenerator
This interface defines the behavior needed to provide sequence numbers for newly created messages. It must provide sequence numbers between 1 and 999999, as per the ISO standard. This value is put in field 11. A default version that simply iterates through an int in memory is provided.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLastTrace()
Returns the last number that was generated.int
nextTrace()
Returns the next trace number.
-