diff options
author | Goblin911 <goblinliu@gmail.com> | 2013-08-26 09:15:50 +0800 |
---|---|---|
committer | Goblin911 <goblinliu@gmail.com> | 2013-08-26 09:15:50 +0800 |
commit | 6400b18210587cb25b475bc2d3979b9a6da5eda4 (patch) | |
tree | 251a4fb351c9488bf1e86db456c5b19f1e11e9b4 /client/Piztor/src/com/macaroon/piztor/ReqUpdate.java | |
parent | a5461ad67c54c6b7ec7b3f0d91e626b0043aec1b (diff) |
init
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/ReqUpdate.java')
-rw-r--r-- | client/Piztor/src/com/macaroon/piztor/ReqUpdate.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java b/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java new file mode 100644 index 0000000..e4b1497 --- /dev/null +++ b/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java @@ -0,0 +1,16 @@ +package com.macaroon.piztor; + +//--------------------------------------// +// Update Location // +//--------------------------------------// + +public class ReqUpdate extends Req{ + double lat; //latitude + double lot; //longitude + + ReqUpdate(int token,double latitude,double longitude,long time,long alive){ + super(2,token,time,alive); //for type 2 + lat = latitude; + lot = longitude; + } +}
\ No newline at end of file |