Package org.openwebnet4j.communication
Interface ConnectorListener
-
- All Known Implementing Classes:
BUSGateway
,OpenGateway
,USBGateway
public interface ConnectorListener
TheConnectorListener
interface defines methods to receive MONITOR messages from OpenConnector- Author:
- M. Valla - Initial contribution
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMessage(OpenMessage message)
This method is called when a newOpenMessage
is received by the OpenConnector MONITOR connectionvoid
onMonDisconnected(OWNException e)
This method is called when the MONITOR connection gets disconnected for some error
-
-
-
Method Detail
-
onMessage
void onMessage(OpenMessage message)
This method is called when a newOpenMessage
is received by the OpenConnector MONITOR connection- Parameters:
message
- theOpenMessage
received
-
onMonDisconnected
void onMonDisconnected(OWNException e)
This method is called when the MONITOR connection gets disconnected for some error- Parameters:
e
- the Exception that caused disconnection
-
-