Update on remote-server
[jvcard.git] / src / be / nikiroo / jvcard / remote / Command.java
index 0fb0a7383da119523d32d2029e151a8af42b7f26..3a32f0c49c965388204441704665965dc68251b9 100644 (file)
@@ -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;