|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
int |
getLastTrace()
Returns the last number that was generated. |
int |
nextTrace()
Returns the next trace number. |
Method Detail |
---|
int nextTrace()
int getLastTrace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |