Array<char> *hmac;
/** Machine that sent this slot. */
int64_t machineid;
- /** Vector of entries in this slot. */
- Vector<Entry *> *entries;
+ /** MyVector of entries in this slot. */
+ MyVector<Entry *> *entries;
/** Pieces of information that are live. */
int livecount;
/** Flag that indicates whether this slot is still live for
Entry *addEntry(Entry *e);
void addShallowEntry(Entry *e);
bool hasSpace(Entry *e);
- Vector<Entry *> *getEntries();
+ MyVector<Entry *> *getEntries();
Array<char> *encode(Mac *mac);
int getBaseSize() { return 2 * HMAC_SIZE + 2 * sizeof(int64_t) + sizeof(int); }
- Vector<Entry *> *getLiveEntries(bool resize);
+ MyVector<Entry *> *getLiveEntries(bool resize);
int64_t getSequenceNumber() { return seqnum; }
int64_t getMachineID() { return machineid; }
void setDead();