comparison src/alice/jungle/operations/NetworkTreeOperation.java @ 31:190f6a3bdab2

rename some packages
author one
date Mon, 01 Jul 2013 20:34:03 +0900
parents src/jungle/test/operations/NetworkTreeOperation.java@20498c88a70d
children 9e3198bf9547
comparison
equal deleted inserted replaced
30:8593c2525aa7 31:190f6a3bdab2
1 package alice.jungle.operations;
2
3 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.NodePath;
4 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.NodeOperation;
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.TreeOperation;
6
7 import org.msgpack.annotation.Message;
8
9 @Message
10 public class NetworkTreeOperation implements TreeOperation {
11
12 public NodePath path;
13 public NodeOperation operation;
14
15 public NetworkTreeOperation() {
16 path = null;
17 operation = null;
18 }
19
20 public NetworkTreeOperation(NodePath _p, NodeOperation _op) {
21 path = _p;
22 operation = _op;
23 }
24
25 @Override
26 public NodePath getNodePath() {
27 return path;
28 }
29
30 @Override
31 public NodeOperation getNodeOperation() {
32 return operation;
33 }
34
35 }