Mercurial > hg > Database > Alice
diff src/alice/codesegment/OutputDataSegment.java @ 76:4a2ecd0a5e8f working
refactor test code segments
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 29 Feb 2012 22:02:31 +0900 |
parents | 3c5c567c47d7 |
children | f84e1684c6be |
line wrap: on
line diff
--- a/src/alice/codesegment/OutputDataSegment.java Mon Feb 27 17:05:54 2012 +0900 +++ b/src/alice/codesegment/OutputDataSegment.java Wed Feb 29 22:02:31 2012 +0900 @@ -66,10 +66,22 @@ } } + /** + * kill the Alice process after send other messages. + * + * @param managerKey + */ + public void finish(String managerKey) { DataSegment.get(managerKey).finish(); } + /** + * close socket for RemoteDataSegment after send other messages. + * + * @param managerKey + */ + public void close(String managerKey) { DataSegment.get(managerKey).close(); }