Jeremy Lakeman
8667060ae0
Add Java API rebind for mdp sockets
2014-09-16 14:41:59 +09:30
Jeremy Lakeman
68bd515241
Content type might be null if the connection is terminated
2014-09-16 11:23:31 +09:30
Jeremy Lakeman
7474e8afea
Fix mdp support and Java API for binding to all keys in the keyring
2014-09-16 11:22:26 +09:30
Jeremy Lakeman
ff6b15748d
Add keyring list command that also outputs tags
2014-09-15 15:59:01 +09:30
Jeremy Lakeman
12c02255a1
Allow Java mdp protocols to specify the port to listen on
2014-09-15 14:39:26 +09:30
Jeremy Lakeman
5a38d2eb0c
Add message timestamp to Java API
2014-07-21 16:13:17 +09:30
Jeremy Lakeman
6c08c8d4a4
Fix cast from Object to primitive types
2014-07-18 14:21:34 +09:30
Andrew Bettison
89623015fc
MeshMS Java API: list messages new since token
2014-07-14 06:06:21 +09:30
Andrew Bettison
4c6612a61e
Rhizome Java API: list bundles new since token
2014-07-12 22:49:00 +09:30
Andrew Bettison
606f087dd5
Merge latest Rhizome Java API into development
2014-07-11 12:29:24 +09:30
Andrew Bettison
2757a08b87
Rhizome Java API: insert inconsistent bundle
2014-07-11 11:15:08 +09:30
Andrew Bettison
8842f32b19
Rhizome Java API: insert journal is not implemented
...
Change the HTTP response code for unimplemented operations from 403 to
501
2014-07-10 22:23:11 +09:30
Andrew Bettison
a87133d4d3
Rhizome Java API: insert anonymous bundle
2014-07-10 21:19:15 +09:30
Andrew Bettison
04b2a20e54
Rhizome Java API: improved form-data headers
...
Change manifest Content-Type from rhizome-manifest/text to
rhizome/manifest; format="text+binarysig"
Add "Content-Transfer-Encoding" form-part headers to Java API
sent form parts, although not currently checked by Rhizome
RESTful interface
2014-07-10 21:12:40 +09:30
Andrew Bettison
57cce64b6c
Rhizome Java API: narrower exceptions
2014-07-10 06:43:24 +09:30
Andrew Bettison
a81d05b4f6
Rhizome Java API: insert bundle
2014-07-10 06:43:17 +09:30
Andrew Bettison
3715c5bf0b
Rhizome Java API: negative fetch tests
2014-07-10 06:30:50 +09:30
Andrew Bettison
2aec8f31a4
Rhizome Java API: get decrypted payload
2014-07-10 06:30:50 +09:30
Andrew Bettison
d16be8f42d
Improve MeshMS HTTP RESTful interface
...
Provide "meshms_status_message" in returned JSON status content
2014-07-10 06:30:50 +09:30
Andrew Bettison
34b6ff48bf
Rhizome Java API: get raw payload
...
Added more "Serval-Rhizome-Bundle-xxx" headers to /restful/rhizome/
responses, so that a more complete manifest can be constructed from
them
2014-07-10 06:29:09 +09:30
Andrew Bettison
93e67ede63
Rhizome Java API: get manifest
...
Fixes assertion violation in GET /restful/rhizome/<BID>.rhm when <BID>
not found
2014-07-10 06:29:09 +09:30
Andrew Bettison
db8ee79a4e
Rhizome Java API: list bundles
2014-07-10 06:29:09 +09:30
Jeremy Lakeman
20d6bdf317
Add Java API getter for servald binary path
2014-07-07 15:08:21 +09:30
Andrew Bettison
11e9d38299
Rename config 'rhizome.api.restful' to 'api.restful'
2014-06-30 11:11:01 +09:30
Jeremy Lakeman
82b13caac4
Deprecate JNI meshms interface
2014-06-25 12:52:47 +09:30
Jeremy Lakeman
2cdd2cec81
Use Long (int64) for meshms offsets
2014-06-25 12:52:25 +09:30
Andrew Bettison
660daf0438
Merge latest MeshMS Java API additions into 'development'
2014-06-24 15:10:16 +09:30
Andrew Bettison
c79a382a27
MeshMS Java API: mark messages as read
2014-06-24 12:12:48 +09:30
Jeremy Lakeman
7d86fcd573
Add java API wrapper for performing multiple config changes in one hit
2014-06-23 15:31:25 +09:30
Andrew Bettison
eba7f6555f
MeshMS Java API: send message
2014-06-23 13:20:57 +09:30
Jeremy Lakeman
533c0be445
Rename mdp lookup helper function to match class name
2014-06-20 15:14:00 +09:30
Jeremy Lakeman
68dbaef38d
Refactor Java API
...
Add stateful class to represent the state of the serval daemon, shifting some functions from BatPhone
Add convenience functions to get pre-configured MDP and HTTP Restful client classes
2014-06-20 10:55:09 +09:30
Andrew Bettison
e9437e9a61
MeshMS Java API: list messages
2014-06-19 10:37:33 +09:30
Andrew Bettison
0a54414744
Refactor Java JSON parsing into JSONTokeniser
2014-06-19 09:55:12 +09:30
Andrew Bettison
9cbd7c365c
MeshMS Java API: list conversations
2014-06-19 09:55:12 +09:30
Jeremy Lakeman
a98f7b97dc
Write Java API stub to force config sync
2014-06-05 15:04:57 +09:30
Jeremy Lakeman
2cad7f4f8e
Fix msp command via JNI
2014-05-26 14:01:34 +09:30
Jeremy Lakeman
bcc4d8ce60
Add api for starting msp tunnel end points
2014-05-15 16:38:25 +09:30
Jeremy Lakeman
672104bdd8
Create extensible service discovery protocol, with initial basic implementation
2014-05-09 11:21:18 +09:30
Jeremy Lakeman
f6f1752437
Shortcut equals test when objects are the same instance
2014-03-27 13:32:15 +10:30
Jeremy Lakeman
f0ce85bd8d
Throw an explicit error instead of a NullPointerException
2014-03-12 14:32:59 +10:30
Jeremy Lakeman
487eab49cd
Parse DNA replies with no phone or name gracefully
2014-02-25 15:26:13 +10:30
Jeremy Lakeman
a6f408f013
Return mdp inet & http port numbers in servald start & status
2014-02-25 12:42:36 +10:30
Jeremy Lakeman
86e01cb87d
Allow creation of unbound MDP socket for future command use
2014-02-24 17:16:21 +10:30
Jeremy Lakeman
dfda3f7a74
Move generic command line API to test package
2014-02-24 17:13:41 +10:30
Jeremy Lakeman
20494a90d5
Add Java MDP Client API
...
- support mdp clients over loopback UDP
Note this is using an environment variable to specify the port number
In future we expect to support environments where this port is already bound
- monitor mdp sockets in a single & separate thread
2014-02-21 16:39:47 +10:30
Jeremy Lakeman
693d1e9b60
Add clearer example java api usage
2014-02-20 15:35:31 +10:30
Jeremy Lakeman
46ef40cf23
Migrate and refactor more interfaces from batphone
2014-02-19 15:35:08 +10:30
Jeremy Lakeman
348fc5f23b
Fix meshms conversations parsing when looking for a single SID
2014-02-12 15:08:24 +10:30
Jeremy Lakeman
a7b43581ce
Rename libservald to libserval for consistency with android build
2014-02-12 14:29:13 +10:30