summaryrefslogtreecommitdiff
path: root/client/src/com/macaroon/piztor/Req.java
diff options
context:
space:
mode:
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