Modifier and Type | Class and Description |
---|---|
class |
EWException
Signals that an eWON exception of some sort has occurred.
|
Modifier and Type | Method and Description |
---|---|
void |
IOTag.getData(IOValue ioData)
This function must be called to change the internal IOTag value according to the value in an
IOValue object
which is used to exchange tag values with the eWON core.You cannot directly pass the value to the eWON core, instead you need to use the IOValue object to do so. |
IOValue |
IOTag.getIoData() |
boolean |
IOTag.getValueBoolean()
This function is used to retreive the current tag's value if defaultDataType is
IOValue.DATATYPE_BOOLEAN . |
float |
IOTag.getValueFloat32()
This function is used to retreive the current tag's value if defaultDataType is
IOValue.DATATYPE_FLOAT32 . |
int |
IOTag.getValueInt32()
This function is used to retreive the current tag's value if defaultDataType is
IOValue.DATATYPE_INT32 . |
long |
IOTag.getValueUInt32()
This function is used to retreive the current tag's value if defaultDataType is
IOValue.DATATYPE_UINT32 . |
abstract void |
IOServer.onAdviseIo(IOTag ioTag)
Called when a new tag is advised.
|
IOValue |
IOServer.onGetIo(IOTag ioTag)
This is the function called when the eWON needs to read the tag value.
|
abstract IOTag |
IOServer.onGetIoInfo(String topicName,
String ioName)
This is the first function called when trying to access a new IOName.
|
abstract void |
IOServer.onPassConfig(boolean applyConfig,
boolean checkConfig)
Called by the eWON when the IO Server configuration is updated, or tho check if the proposed configuration is valid.
The configuration is encoded as a serie of string parameters with the format ParamName:ParamValue, when this onPassConfig handler is called, the program should read the parameters one by one using IOServer.getConfigParam(java.lang.String, java.lang.String) . |
void |
IOServer.onPutIo(IOTag ioTag,
IOValue ioValue)
This is the function called when the eWON wants to update the tag.
|
void |
IOServer.onRegister()
This callback is called during registration just before the IOServer is marked as ready.
|
abstract void |
IOServer.onUnadviseIo(IOTag ioTag) |
void |
IOServer.postIoChange(IOTag ioTag) |
void |
IOServer.postQuality(IOTag ioTag) |
void |
IOServer.registerServer()
Call this function to register the IO server.
The registration is a 2 steps process, first this function must be called, it will instantiate the IOServer in the native eWON Core. |
static void |
DefaultEventHandler.runEventManager()
This is the main DefaultEventHandler function.
|
protected void |
IOServer.setJavaReplyTimeout(int timeout)
Adjust reply timeout to events posted to Java.
|
void |
IOTag.setQuality(int q)
Assign the current tag quality value.
To propagate the quality change to the eWON Core, you also need to call the IOServer.postQuality(com.ewon.ewonitf.IOTag) after
the tag's quality has been set by this function. |
void |
IOTag.setValueBoolean(boolean value)
This function must be called to update the internal IOTag value of the tag if defaultDataType is
IOValue.DATATYPE_BOOLEAN . |
void |
IOTag.setValueFloat32(float value)
This function must be called to update the internal IOTag value of the tag if defaultDataType is
IOValue.DATATYPE_FLOAT32 . |
void |
IOTag.setValueInt32(int value)
This function must be called to update the internal IOTag value of the tag if defaultDataType is
IOValue.DATATYPE_INT32 . |
void |
IOTag.setValueUInt32(long value)
This function must be called to update the internal IOTag value of the tag if defaultDataType is
IOValue.DATATYPE_UINT32 . |
void |
IOTag.updateTag(IOValue ioData)
This function must be called to write the internal IOTag value in an
IOValue object
which is used to exchange tag values with the eWON core.You cannot directly pass the value to the eWON core, instead you need to use the IOValue object to do so. |
Constructor and Description |
---|
MqttClient(String MqttId,
String Host)
Create an MQTT client instance.
|
Modifier and Type | Class and Description |
---|---|
class |
CharConversionException |
class |
EOFException |
class |
FileNotFoundException |
class |
InterruptedIOException |
class |
InvalidClassException |
class |
InvalidObjectException |
class |
IOException |
class |
NotActiveException |
class |
NotSerializableException |
class |
ObjectStreamException |
class |
OptionalDataException |
class |
StreamCorruptedException |
class |
SyncFailedException |
class |
UnsupportedEncodingException |
class |
UTFDataFormatException |
class |
WriteAbortedException |
Modifier and Type | Field and Description |
---|---|
Exception |
WriteAbortedException.detail |
Constructor and Description |
---|
WriteAbortedException(Exception e) |
WriteAbortedException(String s,
Exception e) |
Modifier and Type | Class and Description |
---|---|
class |
ArithmeticException |
class |
ArrayIndexOutOfBoundsException |
class |
ArrayStoreException |
class |
ClassCastException |
class |
ClassNotFoundException |
class |
CloneNotSupportedException |
class |
IllegalAccessException |
class |
IllegalArgumentException |
class |
IllegalMonitorStateException |
class |
IllegalStateException |
class |
IllegalThreadStateException |
class |
IndexOutOfBoundsException |
class |
InstantiationException |
class |
InterruptedException |
class |
NegativeArraySizeException |
class |
NoSuchFieldException |
class |
NoSuchMethodException |
class |
NullPointerException |
class |
NumberFormatException |
class |
RuntimeException |
class |
SecurityException |
class |
StringIndexOutOfBoundsException |
class |
UnsupportedOperationException |
Modifier and Type | Class and Description |
---|---|
class |
InvocationTargetException |
class |
UndeclaredThrowableException |
Modifier and Type | Class and Description |
---|---|
class |
BindException |
class |
MalformedURLException |
class |
NoRouteToHostException |
class |
PortUnreachableException
PortUnreachableException: new since 1.4
|
class |
ProtocolException |
class |
SocketException |
class |
SocketTimeoutException |
class |
UnknownHostException |
class |
UnknownServiceException |
class |
URISyntaxException
URISyntaxException: new since 1.4 Api
|
Modifier and Type | Class and Description |
---|---|
class |
AccessException |
class |
AlreadyBoundException |
class |
ConnectException |
class |
ConnectIOException |
class |
MarshalException |
class |
NoSuchObjectException |
class |
NotBoundException |
class |
RemoteException |
class |
RMISecurityException |
class |
ServerError |
class |
ServerException |
class |
ServerRuntimeException |
class |
StubNotFoundException |
class |
UnexpectedException |
class |
UnmarshalException |
Constructor and Description |
---|
AccessException(String s,
Exception ex) |
ConnectException(String s,
Exception ex) |
ConnectIOException(String s,
Exception ex) |
MarshalException(String s,
Exception ex) |
ServerException(String message,
Exception exception) |
ServerRuntimeException(String s,
Exception ex)
Deprecated.
...
|
StubNotFoundException(String s,
Exception ex) |
UnexpectedException(String s,
Exception ex) |
UnknownHostException(String s,
Exception ex) |
UnmarshalException(String s,
Exception ex) |
Modifier and Type | Class and Description |
---|---|
class |
ActivateFailedException |
class |
ActivationException |
class |
UnknownGroupException |
class |
UnknownObjectException |
Constructor and Description |
---|
ActivateFailedException(String s,
Exception ex) |
Modifier and Type | Class and Description |
---|---|
class |
ExportException |
class |
ServerCloneException |
class |
ServerNotActiveException |
class |
SkeletonMismatchException |
class |
SkeletonNotFoundException |
class |
SocketSecurityException |
Modifier and Type | Field and Description |
---|---|
Exception |
ServerCloneException.detail |
Modifier and Type | Method and Description |
---|---|
boolean |
RMIFailureHandler.failure(Exception ex) |
Modifier and Type | Method and Description |
---|---|
void |
Skeleton.dispatch(Remote obj,
RemoteCall theCall,
int opnum,
long hash) |
void |
RemoteCall.executeCall() |
void |
RemoteRef.invoke(RemoteCall call) |
Object |
RemoteRef.invoke(Remote obj,
Method method,
Object[] params,
long opnum) |
Constructor and Description |
---|
ExportException(String s,
Exception ex) |
ServerCloneException(String s,
Exception ex) |
SkeletonNotFoundException(String s,
Exception ex) |
SocketSecurityException(String s,
Exception ex) |
Modifier and Type | Class and Description |
---|---|
class |
AccessControlException |
class |
DigestException |
class |
GeneralSecurityException |
class |
InvalidAlgorithmParameterException |
class |
InvalidKeyException |
class |
InvalidParameterException |
class |
KeyException |
class |
KeyManagementException |
class |
KeyStoreException |
class |
NoSuchAlgorithmException |
class |
NoSuchProviderException |
class |
PrivilegedActionException |
class |
ProviderException |
class |
SignatureException |
class |
UnrecoverableKeyException |
Modifier and Type | Method and Description |
---|---|
Exception |
PrivilegedActionException.getException() |
Modifier and Type | Method and Description |
---|---|
Object |
PrivilegedExceptionAction.run() |
Constructor and Description |
---|
PrivilegedActionException(Exception exception) |
Modifier and Type | Class and Description |
---|---|
class |
AclNotFoundException |
class |
LastOwnerException |
class |
NotOwnerException |
Modifier and Type | Class and Description |
---|---|
class |
CertificateException
This class represents a general certificate exception.
|
class |
CertPathBuilderException
Indicates a problem while using a
CertPathBuilder , wrapping
the lower exception. |
class |
CertPathValidatorException
Indicates a problem while validating a certification path.
|
class |
CertStoreException
Indicates a problem while retrieving certificates and CRLs from
CertStore , wrapping the lower exception. |
class |
CRLException |
Modifier and Type | Class and Description |
---|---|
class |
InvalidKeySpecException |
class |
InvalidParameterSpecException |
Modifier and Type | Class and Description |
---|---|
class |
BatchUpdateException |
class |
DataTruncation |
class |
SQLException |
class |
SQLWarning |
Modifier and Type | Class and Description |
---|---|
class |
ParseException |
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentModificationException |
class |
EmptyStackException |
class |
MissingResourceException |
class |
NoSuchElementException |
class |
TooManyListenersException |
Modifier and Type | Class and Description |
---|---|
class |
JarException |
Modifier and Type | Class and Description |
---|---|
class |
DataFormatException |
class |
ZipException |