public byte[] getCurrentValue() throws IOException { if (lastmessage == null) return null; return lastmessage.getValue(); }
public String getCurrentKey() throws IOException { if (lastmessage == null) return null; return lastmessage.getKey(); }