|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.device.Control
public class Control
The Control class implements the ControlService interface.
ControlService,
ErrorListener,
MessageHandler,
String| Field Summary | |
|---|---|
protected static int |
EXCEPTION_READ_FAILED_RESOURCE
Define the exception read failed resource (int) constant. |
protected static int |
SETVALUEEXCEPTION_RESOURCE
Define the setvalueexception resource (int) constant. |
| Fields inherited from class org.eclipse.soda.dk.core.EscObject |
|---|
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, INTEGER_TABLE, KEY_KEY, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_TRACE, LOG_WARNING, PREFIX_KEY, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE |
| Constructor Summary | |
|---|---|
Control()
Constructs an Control object. |
|
Control(java.lang.String key)
Constructs an Control object using the input parameter(s). |
|
| Method Summary | |
|---|---|
protected boolean |
attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
Returns true if attempt recovery from error. |
boolean |
equalsValue(java.lang.Object value,
java.lang.Object value2)
Perform the equalsValue method and return the boolean
result. |
void |
errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
The errorOccurred method is called when an error has occurred. |
java.lang.String |
getCodeKey()
Gets the code key (String) value. |
protected int |
getErrorSeverity(int errorNumber,
java.lang.Throwable error)
Return the error severity of the specified error number. |
java.lang.String |
getKey()
Gets the String key property value. |
java.lang.String |
getQualifiedKey()
Gets the qualified key (String) value. |
java.lang.String |
getResource(int resourceId)
Gets the string resource using the supplied resourceId. |
protected void |
setKey(java.lang.String key)
Sets the key property. |
java.lang.String |
setQualifiedKey(java.lang.String qualifiedKey)
Sets the qualified key value. |
java.lang.String |
toString()
Perform the toString method and return the String result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int SETVALUEEXCEPTION_RESOURCE
protected static final int EXCEPTION_READ_FAILED_RESOURCE
| Constructor Detail |
|---|
public Control()
Control object.
Control(String)public Control(java.lang.String key)
Control object using the input parameter(s).
java.lang.String
key - The key (String) parameter.Control()| Method Detail |
|---|
protected boolean attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
EscObject
attemptRecoveryFromError in class EscObjecterrorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
boolean)
value.The error number (int) parameter.
The error (Throwable) parameter.
public boolean equalsValue(java.lang.Object value,
java.lang.Object value2)
boolean
result.
java.lang.Object
java.lang.Object
value - The value (Object) parameter.value2 - The value2 (Object) parameter.
boolean) value.
public void errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
errorOccurred in interface ErrorListenersource - The source (Object) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.public java.lang.String getCodeKey()
String) value.
protected int getErrorSeverity(int errorNumber,
java.lang.Throwable error)
EscObject
getErrorSeverity in class EscObjecterrorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
int) value.The error number (int) parameter.
The error (Throwable) parameter.public java.lang.String getKey()
String key property value.
getKey in interface ControlServiceString) value.ControlService.getKey(),
getCodeKey(),
getQualifiedKey(),
setKey(String),
setQualifiedKey(String)public java.lang.String getQualifiedKey()
String) value.setQualifiedKey(String)public java.lang.String getResource(int resourceId)
int) parameter.
getResource in class EscObjectresourceId - The resource id (int) parameter.
String) value.EscObject.getDefaultResource(int)protected void setKey(java.lang.String key)
java.lang.String).
key - The key (String) parameter.getCodeKey(),
getKey(),
getQualifiedKey(),
setQualifiedKey(String)public java.lang.String setQualifiedKey(java.lang.String qualifiedKey)
String) parameter.
qualifiedKey - The qualified key (String) parameter.
String) value.getQualifiedKey()public java.lang.String toString()
String result.
toString in class EscObjectString) value.EscObject.getStaticString(String,String),
EscObject.getString(String,String)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||