JNI Adapter/Improvement Proposals

  • encrypt_message returns null if not encrypted
  • decrypt_message - put resulting message into decrypt_message_return
  • CodeGen remove inout
  • List<>/ArrayList<> instead of Vector<> everywhere
  • JNI Message Class locking (Concurrency problem) / Make immutable???
  • change all methods names to Java standard camelCaseMethodNames() instead of c_style_method_names()
  • JNI-84 generated AbstractEngine / Engine
  • JNI-87 generated AbstractMessage / Message
  • Message needs copy constructor

  • new package pEp.message, containing
    • class Message
    • enum Direction
    • enum TextFormat
    • enum EncFormat
    • class OptFields
    • class Blob
  • Message.OptFields needs to become a class Message.OptFields with methods:
    • void addKeyValue(String, String)
    • int removeKeyValue(String, String)
    • int removeAllKeys(String)
    • List getKeys()
    • List valuesForKey(String)