saltyrtc / saltyrtc-client-java

SaltyRTC Java implementation.
Apache License 2.0
3 stars 4 forks source link

Remove Task.onPeerHandshakeDone() #56

Closed dbrgn closed 7 years ago

dbrgn commented 7 years ago

This is redundant with the signaling state changing to TASK.

dbrgn commented 7 years ago

On the other hand, even if it's redundant, it makes it easier to write tasks that need to do something as soon as the peer handshake is done.

Furthermore, the SignalingInterface does not expose the event handling registry. So it wouldn't be straigthforward to implement equivalent functionality right now.