summaryrefslogtreecommitdiff
path: root/client/Piztor/src/com/macaroon/piztor/Req.java
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-26 09:48:29 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-26 09:48:29 +0800
commit9b9993e33932058cc78d1882a301eefd22380b45 (patch)
treee0f86e718ffc18b7f5941cd71a721e3b461296c6 /client/Piztor/src/com/macaroon/piztor/Req.java
parent7f91994a99cb7d23a22d949454e861e879a68e98 (diff)
parent6400b18210587cb25b475bc2d3979b9a6da5eda4 (diff)
Merge branch 'master' of github.com:Determinant/piztor
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/Req.java')
-rw-r--r--client/Piztor/src/com/macaroon/piztor/Req.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/Req.java b/client/Piztor/src/com/macaroon/piztor/Req.java
new file mode 100644
index 0000000..32988b8
--- /dev/null
+++ b/client/Piztor/src/com/macaroon/piztor/Req.java
@@ -0,0 +1,14 @@
+package com.macaroon.piztor;
+
+public class Req{
+ int type; //request type
+ int token; //authentciation
+ long time; //current time
+ long alive; //alive time
+ Req(int t,int k,long tm,long av){
+ type = t;
+ token = k;
+ time = tm;
+ alive = av;
+ }
+} \ No newline at end of file