if (replyHdr.getXid() == -1) {
// -1 means notification
LOG.debug("Got notification sessionid:0x"
+ Long.toHexString(sessionId));
WatcherEvent event = new WatcherEvent();
event.deserialize(bbia, "response");
// convert from a server path to a client path
if (chrootPath != null) {
String serverPath = event.getPath();
event.setPath(serverPath.substring(chrootPath.length()));