summaryrefslogtreecommitdiff
path: root/client/src/com/macaroon/piztor/Req.java
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-25 21:05:00 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-25 21:05:00 +0800
commit263967cbb477983ae8680b431c1d93f102971c30 (patch)
treeffb7a63d5987ce6368caec1e07d2f5df0fb35986 /client/src/com/macaroon/piztor/Req.java
parent69a0eecd6a831127d04970c4c1b5749c641b8e5e (diff)
restructured the project
Diffstat (limited to 'client/src/com/macaroon/piztor/Req.java')
-rw-r--r--client/src/com/macaroon/piztor/Req.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/com/macaroon/piztor/Req.java b/client/src/com/macaroon/piztor/Req.java
new file mode 100644
index 0000000..32988b8
--- /dev/null
+++ b/client/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