|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSCCT.JavaSubscriber.SCCT_AbstractPackage
SCCT.JavaSubscriber.SCCT_ErrorPackage
public class SCCT_ErrorPackage
It contains the description of an error that has occurred such for as the loss of connection.
Field Summary | |
---|---|
static int |
ERROR_DESTINATION_UNREACHABLE
This error is thrown if SCCT is not able to establish a connection with the publisher. |
static int |
ERROR_EXPIRED_TIMEOUT
This error is thrown if timeout is expired. |
static int |
ERROR_LOST_CONNECTION
This error is thrown if SCCT notices that the connection is lost before the timeout expired. |
static int |
ERROR_TRANSMISSION_ERROR
This error is thrown if it fails to send a message. |
static int |
ERROR_WRONG_APIKEY
This error is thrown if API-Key is incorrect. |
static int |
ERROR_WRONG_TIMEOUT
This error is thrown if timeout is incorrect. |
static int |
ERROR_WRONG_TIMESTAMP
This error is thrown if the client's timestamp is too much different from the producer's one. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Gets the description of the error. |
int |
getErrorCode()
Gets the error code sent by the producer. |
Methods inherited from class SCCT.JavaSubscriber.SCCT_AbstractPackage |
---|
getCalendar, getPackageNumber |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ERROR_WRONG_APIKEY
public static final int ERROR_WRONG_TIMEOUT
public static final int ERROR_WRONG_TIMESTAMP
public static final int ERROR_EXPIRED_TIMEOUT
public static final int ERROR_TRANSMISSION_ERROR
public static final int ERROR_LOST_CONNECTION
public static final int ERROR_DESTINATION_UNREACHABLE
Method Detail |
---|
public java.lang.String getDescription()
public int getErrorCode()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |