Hi,
i am developing a project where i need to access both serial and socket
connected devices.
I like working with Spring as my main framework, so i am using Mina
integrated with Spring.
I found a problem using the customEditors for the property
defaultRemoteAddress, which is
of type java.net.SocketAddress both for the serial connector and for the
SocketConnecor.
This means that i cannot use together the classes
org.apache.mina.transport.serial.SerialAddressEditor
and "org.apache.mina.integration.beans.InetSocketAddressEditor because
both are related
to the same type..
Unfortunately i cannot extend SerialConnector to change the type of
defaultRemoteAddress
to SerialAdress, because it's final.
What strategy do you suggest me to use?
Thanks in advance,
Luca