diff src/main/java/alice/datasegment/SendOption.java @ 456:212a81cf7a86 dispose

forgot to add file
author sugi
date Sun, 02 Nov 2014 18:10:12 +0900
parents
children 145c425db88d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/alice/datasegment/SendOption.java	Sun Nov 02 18:10:12 2014 +0900
@@ -0,0 +1,27 @@
+package alice.datasegment;
+
+public class SendOption {
+    private boolean quick = false;
+    private boolean compress = false;
+    
+    public SendOption(boolean qFlag, boolean cFlag) {
+        quick = qFlag;
+        compress = cFlag;
+    }
+
+    public boolean isQuick() {
+        return quick;
+    }
+
+    public void setQuick(boolean quick) {
+        this.quick = quick;
+    }
+
+    public boolean isCompress() {
+        return compress;
+    }
+
+    public void setCompress(boolean compress) {
+        this.compress = compress;
+    }
+}