예제 #1
0
 /// <summary>
 /// the next sequence number for data packets.
 /// The initial sequence number is "0"
 /// </summary>
 /// <returns></returns>
 public long getNextSequenceNumber()
 {
     currentSequenceNumber = (int)SequenceNumber.increment(currentSequenceNumber);
     return(currentSequenceNumber);
 }