Java-part of MDP JNI bindings #51

Open
wants to merge 11 commits into
from

Conversation

Projects
None yet
1 participant
@rom1v
Contributor

rom1v commented Nov 16, 2012

Here is the java-part of MDP JNI bindings.

The goal is to be as similar as possible as DatagramSocket Java API (just replace Datagram* by Mesh* and InetAddress* by SubscriberId*).

It does not manage MDP flags and options yet.

Please consider it experimental.

(native-part is here: servalproject/serval-dna#39 (commits))

@rom1v rom1v referenced this pull request in servalproject/serval-dna Nov 16, 2012

Closed

MDP sockets support #39

rom1v added some commits Jan 7, 2013

Merge branch 'development' into mdpsock
Conflicts:
	jni/serval-dna
Merge branch 'development' into mdpsock
Conflicts:
	jni/serval-dna
Deadlock on close() socket bugfix
close() and receive() were using the same lock, which provoked a deadlock when a
thread was waiting a blocking receive() and another wanted to close() the
socket.
Merge branch 'development' into mdpsock
Conflicts:
	jni/serval-dna
Merge branch 'development' into mdpsock
Conflicts:
	jni/serval-dna
Merge branch 'development' into mdpsock
Conflicts:
	jni/serval-dna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment