| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JSyncConstants
This interfaces contains public JSync constants
| Field Summary | |
|---|---|
| static String | REVISION | 
| static int | SC_BAD_ADDRESSStatus code (1404) indicating the request comes from a different IP address than the ones used for join. | 
| static int | SC_BAD_LEADERStatus code (1405) indicating the request comes from a different IP address than the ones used for join. | 
| static int | SC_BAD_MESSAGEStatus code (1400) indicating the message sent by the sender was syntactically incorrect. | 
| static int | SC_INTERNAL_SERVER_ERRORStatus code (1500) indicating an error inside the replica which prevented it from fulfilling the request. | 
| static int | SC_JOIN_REJECTEDStatus code (1401) indicating this replica do not process join request. | 
| static int | SC_LEADER_CANNOT_JOINStatus code (1402) indicating this replica do not process join request. | 
| static int | SC_NO_ACKStatus code (1101) indicating no acknowledge message was received | 
| static int | SC_NO_SENDStatus code (1201) indicating no message was sent | 
| static int | SC_OKStatus code (1200) indicating the request succeeded normally. | 
| static int | SC_UNKNOWNStatus code (1100) indicating an unknown error | 
| static int | SC_UNKNOWN_URIDStatus code (1403) indicating this sender has not performed a join before sending this message. | 
| static int | SC_URID_ALREADY_ADDEDStatus code (1406) indicating the join request comes from an URID already added. | 
| static String | STATUS_LEADERStatus for leader replica | 
| static String | STATUS_LONEStatus for lone replica | 
| static String | STATUS_MEMBERStatus for member replica | 
| static String | STATUS_SUBLEADERStatus for subleader replica | 
| Fields inherited from interface com.jalios.util.JaliosConstants | 
|---|
| CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR | 
| Field Detail | 
|---|
static final String REVISION
static final int SC_UNKNOWN
static final int SC_NO_ACK
static final int SC_OK
static final int SC_NO_SEND
static final int SC_BAD_MESSAGE
static final int SC_JOIN_REJECTED
static final int SC_LEADER_CANNOT_JOIN
static final int SC_UNKNOWN_URID
static final int SC_BAD_ADDRESS
static final int SC_BAD_LEADER
static final int SC_URID_ALREADY_ADDED
static final int SC_INTERNAL_SERVER_ERROR
static final String STATUS_LONE
static final String STATUS_MEMBER
static final String STATUS_SUBLEADER
static final String STATUS_LEADER
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||