01: package com.sun.portal.util;
02:
03: /*
04: * Specifies whether a particular host has gone down or up,
05: * Immutable representation of the actual implementation
06: *
07: * @author Rajesh T
08: * @version
09: * @date 25-07-2002
10: */
11:
12: public interface HostAvailabilityEvent {
13:
14: // Host Status ....
15: public static final int HOST_AVAILABLE = 1;
16:
17: public static final int HOST_UNAVAILABLE = 2;
18:
19: // Host Types ....
20: public static final int IS_HOST = 1;
21:
22: public static final int PS_HOST = 2;
23:
24: public static final int RP_HOST = 3;
25:
26: public static final int NP_HOST = 4;
27:
28: public String getHost();
29:
30: public int getHostType();
31:
32: public int getHostStatus();
33: }
|