com.alarexgroup.m2mplf.adapters.io
Interface PortAdapterListener
- All Known Implementing Classes:
- SendValue
public interface PortAdapterListener
Interface for handling of PortAdapter events
|
Method Summary |
void |
onPortValueChanged(Port port,
long value)
If the status of monitored port has changed, this method gets automatically called. |
onPortValueChanged
void onPortValueChanged(Port port,
long value)
- If the status of monitored port has changed, this method gets automatically called.
- Parameters:
port - Port, whose change of status was recorded.
With the help of port.getId() it's possible to obtain ports number.value - value on the port