comparison src/alice/datasegment/CommandType.java @ 308:a8255a831ade

implement ping api
author sugi
date Tue, 19 Nov 2013 17:39:44 +0900
parents 7f47231ef509
children
comparison
equal deleted inserted replaced
307:52bb813ed52e 308:a8255a831ade
8 PEEK, 8 PEEK,
9 TAKE, 9 TAKE,
10 REMOVE, 10 REMOVE,
11 REPLY, 11 REPLY,
12 CLOSE, 12 CLOSE,
13 FINISH; 13 FINISH,
14 PING,
15 RESPONSE;
14 16
15 public int id; 17 public int id;
16 public static HashMap<Integer, CommandType> hash = new HashMap<Integer, CommandType>(); 18 public static HashMap<Integer, CommandType> hash = new HashMap<Integer, CommandType>();
17 private static int lastId = 0; 19 private static int lastId = 0;
18 20