Mercurial > hg > Database > Alice
changeset 456:212a81cf7a86 dispose
forgot to add file
author | sugi |
---|---|
date | Sun, 02 Nov 2014 18:10:12 +0900 |
parents | b004f62b83e5 |
children | 41d80f5e1fb2 |
files | src/main/java/alice/datasegment/SendOption.java |
diffstat | 1 files changed, 27 insertions(+), 0 deletions(-) [+] |
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; + } +}