private void channelMessages(int num) {
for (int i = 0; i < num; i++) {
UnitPackage pkg = server.clientReceive();
channelListener.onMessage(pkg.resultingRevision,
pkg.clientSourced ? clientSid : otherSid, pkg.onlyOp());
}
}
private DocOp randomOp(Doc doc) {
DocOp op = RandomDocOpGenerator.generate(r, p, doc.autoDoc);