X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbe%2Fnikiroo%2Fjvcard%2Fremote%2FCommand.java;h=3a32f0c49c965388204441704665965dc68251b9;hb=0b6140e4a200c4952c9dc003d8389f375191564e;hp=0fb0a7383da119523d32d2029e151a8af42b7f26;hpb=cf77cb3542f2aefbebdb9aa00b358dbeb4489a73;p=jvcard.git diff --git a/src/be/nikiroo/jvcard/remote/Command.java b/src/be/nikiroo/jvcard/remote/Command.java index 0fb0a73..3a32f0c 100644 --- a/src/be/nikiroo/jvcard/remote/Command.java +++ b/src/be/nikiroo/jvcard/remote/Command.java @@ -15,14 +15,34 @@ public class Command { LIST, /** HELP about the protocol for interactive access */ HELP, + /** GET a remote card */ + GET_CARD, + /** + * PUT mode activation toggle for a card on the remote server (you can + * issue *_CONTACT commands when in PUT mode) + */ + PUT_CARD, + /** POST a new card to the remote server */ + POST_CARD, + /** DELETE an existing contact from the remote server */ + DELETE_CARD, /** GET a remote contact */ - GET, - /** PUT a new contact to the remote server or update an existing one */ - PUT, + GET_CONTACT, + /** + * PUT mode activation toggle for a contact on the remote server (you + * can issue *_DATA commands when in PUT mode) + */ + PUT_CONTACT, /** POST a new contact to the remote server */ - POST, + POST_CONTACT, /** DELETE an existing contact from the remote server */ - DELETE, + DELETE_CONTACT, + /** GET a remote data */ + GET_DATA, + /** POST a new data to the remote server */ + POST_DATA, + /** DELETE an existing data from the remote server */ + DELETE_DATA, } private Verb verb;