Bug #485

Converters for Fundamental Types are not Implemented [Java]

Added by J. Moringen almost 10 years ago. Updated almost 4 years ago.

Status:In ProgressStart date:08/08/2011
Priority:NormalDue date:
Assignee:J. Moringen% Done:

80%

Category:Java
Target version:rsb-0.18

Description

Despite what this description suggests.

Progress:

Wire Schema String Designator Converter
No value "void" rsb.converter.NullConverter
Double precision float "double" rsb.converter.DoubleConverter
Single precision float "float" rsb.converter.FloatConverter
32 bit signed integer "int32" rsb.converter.IntegerConverter
64 bit signed integer "int64" rsb.converter.LongConverter
32 bit unsigned integer "uint32" rsb.converter.IntegerConverter
64 bit unsigned integer "uint64" rsb.converter.LongConverter
bool "bool" rsb.converter.BoolConverter
ASCII string "ascii-string"
UTF-8 string "utf-8-string" rsb.converter.StringConverter
Sequence of bytes "bytes"
Scope "scope" rsb.converter.ScopeConverter
Event ID ".rsb.protocol.EventId" rsb.converter.EventIdConverter

Associated revisions

Revision 92e85388
Added by J. Moringen almost 10 years ago

Added Uint64Converter in src/rsb/converter/Uint64Converter.java
refs #485
  • src/rsb/converter/DefaultConverters.java: register Uint64Converter
  • src/rsb/converter/Uint64Converter.java: new file; contains
    Uint64Converter class
  • test/rsb/converter/Uint64ConverterTest.java: new file; unit tests
    for Uint64Converter

Revision 9ecfb992
Added by J. Moringen over 8 years ago

Added Boolean converter in src/rsb/converter/BoolConverter.java

refs #485

  • src/rsb/converter/BoolConverter.java: new file; contains Boolean
    converter
  • test/rsb/converter/BoolConverterTest.java: new file; contains unit
    tests for Boolean converter

Revision 6ef6d79f
Added by J. Moringen over 8 years ago

Register BoolConverter in src/rsb/converter/DefaultConverters.java

refs #485

  • src/rsb/converter/DefaultConverters.java (DefaultConverters::register):
    register BoolConverter

Revision 1cba458c
Added by J. Wienke about 8 years ago

Implement int64 converter

Register this instead of the unit64 converter as there are no separate
data types in java to distinguish between both converters for sending.

refs #485

Revision fbd50ba8
Added by J. Wienke almost 7 years ago

Added DoubleConverter

refs #485

Revision 2ec3ae81
Added by J. Wienke about 5 years ago

Converter for integers

refs #485

Revision 0d70fd8b
Added by J. Moringen about 5 years ago

Added FloatConverter in rsb/converter/FloatConverter.java

refs #485

  • rsb-java/src/main/java/rsb/converter/FloatConverter.java: new file;
    converter for Float type
  • rsb-java/src/test/java/rsb/converter/FloatConverterTest.java: new
    file; corresponding test
  • rsb-java/src/main/java/rsb/converter/DefaultConverters.java
    (DefaultConverters::register): register FloatConverter

Revision 9f705246
Added by J. Moringen about 5 years ago

Mention added Java FloatConverter in news.rst

refs #485

  • news.rst (RSB 0.14): mention new FloatConverter in Java implementation

Revision a7111d3d
Added by J. Moringen about 5 years ago

Backport: Added FloatConverter in rsb/converter/FloatConverter.java

refs #485

  • rsb-java/src/main/java/rsb/converter/FloatConverter.java: new file;
    converter for Float type
  • rsb-java/src/test/java/rsb/converter/FloatConverterTest.java: new
    file; corresponding test
  • rsb-java/src/main/java/rsb/converter/DefaultConverters.java
    (DefaultConverters::register): register FloatConverter

(cherry picked from commit 0d70fd8bc164289863d891faf001f304bc8294e9)

Revision f6f4bccf
Added by J. Moringen over 4 years ago

Added ScopeConverter in rsb-java/src/main/java/rsb/converter/SccopeConverter.java

refs #485

  • rsb-java/src/main/java/rsb/converter/SccopeConverter.java: new file;
    contains ScopeConverter which (de)serialized Scope objects
  • rsb-java/src/test/java/rsb/converter/ScopeConverterTest.java: new
    file; unit tests for ScopeConverter

History

#1 Updated by J. Moringen over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 40

#2 Updated by J. Moringen over 7 years ago

  • Target version changed from rsb-0.10 to rsb-0.11

#3 Updated by J. Wienke over 6 years ago

  • Target version changed from rsb-0.11 to rsb-0.12

#4 Updated by J. Wienke over 6 years ago

  • Target version changed from rsb-0.12 to rsb-0.13

#5 Updated by J. Moringen over 5 years ago

  • Target version changed from rsb-0.13 to rsb-0.14

#6 Updated by J. Moringen about 5 years ago

  • Target version changed from rsb-0.14 to rsb-0.15

#7 Updated by J. Moringen about 5 years ago

  • Description updated (diff)
  • Assignee changed from S. Wrede to J. Moringen
  • % Done changed from 40 to 70

#8 Updated by J. Moringen about 5 years ago

  • Description updated (diff)

#9 Updated by J. Moringen about 5 years ago

  • Description updated (diff)

#10 Updated by J. Moringen about 5 years ago

  • Subject changed from Converters for Fundamental Types are not Implemented to Converters for Fundamental Types are not Implemented [Java]

#11 Updated by J. Moringen over 4 years ago

  • Description updated (diff)
  • Target version changed from rsb-0.15 to rsb-0.16
  • % Done changed from 70 to 80

#12 Updated by J. Moringen over 4 years ago

  • Description updated (diff)

#13 Updated by J. Moringen over 4 years ago

  • Target version changed from rsb-0.16 to rsb-0.17

#14 Updated by J. Moringen almost 4 years ago

  • Target version changed from rsb-0.17 to rsb-0.18

Also available in: Atom PDF