package bluej.collect;

import java.util.List;
import java.util.Map;

import org.apache.http.entity.mime.MultipartEntity;
import threadchecker.OnThread;
import threadchecker.Tag;


| An Event to be submitted to the server. | interface Event {
| Given the current versions of the files as we have last sent them to the server, | forms a new record to be sent to the server | | @param sequenceNum The sequence number to use for the event | @param fileVersions Our local version of the files, as we have last | successfully sent them to the server. Maps a file identifier to a list | of lines in the file | @return A MultipartEntity to send to the server | @OnThread(Tag.Worker) p.public MultipartEntity makeData(int sequenceNum, Map<FileKey, List<String> > fileVersions);
| A callback that is called after the event has been successfully sent to | the server. If necessary, it should update the passed-in map with the | file contents | @param fileVersions Map, to be modified by the method | void success(Map<FileKey, List<String> > fileVersions); }

.   - Event
.   makeData
.   success




16 neLoCode + 12 LoComm