1 24 25 package org.objectweb.tribe.faultdetection; 26 27 import org.objectweb.tribe.common.Address; 28 29 35 public interface FaultDetectionListener 36 { 37 38 41 public static final int EVENT_INTERRUPTED = 0; 42 43 46 public static final int EVENT_QUIT = 1; 47 48 51 public static final int EVENT_ERROR_LOCAL_ADDRESS = 2; 52 53 54 public static final int THREAD_ALIVE = 10; 55 56 57 public static final int THREAD_SUSPECTED = 11; 58 59 60 public static final int THREAD_LOST = 12; 61 62 67 void suspect(Address address); 68 69 74 void noResponse(Address address); 75 76 81 void lastPing(Address address); 82 83 89 void pingServiceEvent(int event); 90 91 96 void alive(Address address); 97 98 } | Popular Tags |