Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

IDnpTimeSource Java wrapper is not available #353

Closed
nicolatimeus opened this issue Mar 20, 2020 · 2 comments
Closed

IDnpTimeSource Java wrapper is not available #353

nicolatimeus opened this issue Mar 20, 2020 · 2 comments
Assignees
Milestone

Comments

@nicolatimeus
Copy link

Currently there are no Java bindings available for the IDnpTimeSource class.

This prevents Java OutstationApplication implementors from overriding the behaviour of the default IDnpTimeSource::Now, which always returns an invalid timestamp with 0 as value.

A Java DnpTimeSource interface wrapper should be added and OutstationApplication should extend that interface to match C++ API.

@jadamcrain
Copy link
Member

Good catch. We'll add this to the develop branch and also back-port it and do a 2.x series release.

@emgre
Copy link
Member

emgre commented Mar 27, 2020

This was implemented in the develop branch for both Java and C#, but introduces a couple of breaking changes, so I won't be merging it into 2.x for now.

@emgre emgre closed this as completed Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants