super(comm, event);
}
int response(long offset, int nread, byte [] data) {
CommHeader header = new CommHeader();
CommBuf cbuf;
header.initialize_from_request_header(mEvent.header);
if (nread > 0)
cbuf = new CommBuf(header, 16, data, nread);
else
cbuf = new CommBuf(header, 16);
cbuf.AppendInt(Error.OK);
cbuf.AppendLong(offset);
cbuf.AppendInt(nread);
return mComm.SendResponse(mEvent.addr, cbuf);
}