Package org.serviceconnector.api.cln
Class SCMessageCallback
java.lang.Object
org.serviceconnector.api.cln.SCMessageCallback
- Direct Known Subclasses:
SCGuardianMessageCallback
The Class SCMessageCallback. Abstract class provides basic functions for a message callback.
- Author:
- JTraber
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
service
The service which is using the message callback.
-
-
Constructor Details
-
SCMessageCallback
Instantiates a new SCMessageCallback.- Parameters:
service- the service
-
-
Method Details
-
receive
Callback. Method gets called when reply arrives.- Parameters:
reply- the reply
-
receive
Callback. Method gets called when an error shows up in communication process.- Parameters:
ex- the exception
-
getService
Gets the service which is using the message callback.- Returns:
- the service
-