// Configure a listener to send sequence number events from the
// client to the server.
SequenceNumberClientListener numberListener = new SequenceNumberClientListener() {
@Override
public void notifySequenceNumber(long sequenceNumber) {
server.update(sequenceNumber);
}
};
// Create a sequence client restart manager so that our sequence
// client continues processing in the face of temporary connectivity