Interface Persister<T>


  • public interface Persister<T>
    • Method Detail

      • getID

        byte getID()
        This is to be used to store the protocol-id on Messages. Messages are stored on their bare format. The protocol manager will be responsible to code or decode messages. The caveat here is that the first short-sized bytes need to be this constant.
      • getEncodeSize

        int getEncodeSize​(T record)