Lines Matching defs:notification
118 public void handleNotification(Notification notification, java.lang.Object handback) {
121 sb.append(notification.getType());
123 sb.append(notification.getSequenceNumber());
125 sb.append(notification.getMessage());
127 sb.append(notification.getUserData());
130 String notif = "Notification: '" + notification + "'";
131 String source = "Notification: source: '" + notification.getSource() + "'";
134 if (notification.getType().equals("ogaaction")) {
140 handleObjectName(sb, notification, handback);
142 } else if (notification.getType().equals("ogainfostring")) {
149 logger.finest("Received notification from '" + pingBean + "' " + sb.toString());
151 } else if (notification.getType().equals("ogainfolong")) {
158 logger.info("Received notification from '" + pingBean + "' " + sb.toString());
159 if ("StartIndexing".equals(notification.getMessage())) {
160 starttime = ((Long) notification.getUserData()).longValue();
161 } else if ("FinishedIndexing".equals(notification.getMessage())) {
162 endtime = ((Long) notification.getUserData()).longValue();
164 logger.warning("Unknown message " + notification.getMessage());
174 private void handleObjectName(StringBuilder sb, Notification notification, Object handback) {
176 logger.fine("Received notification from '" + pingBean + "' " + sb.toString());
178 //filesInfo.append(notification.getMessage());
179 filesInfo.append(notification.getUserData().toString());