hypercast.MonitorAndControl
Interface I_TimeoutCallback
- public interface I_TimeoutCallback
The application using the Monitor creates an instance of this
interface and passes it as a parameter when sending out a
MonMessage
by using the sendTo()
method
defined in the I_Monitor
interface, and specify a
timeout value for waiting for the reply message.
If during the specified timeout time there is no reply message coming
back, the method timeoutMCMessage()
will be called by the Monitor.
The Timeout_Callback
is managed by the
Monitor
CallbackManager
which stores it
in a CallbackEntry
.
Method Summary |
void |
timeoutMessage(hypercast.MonitorAndControl.MonMessage message)
Handling timeout for a MonMessage . |
timeoutMessage
public void timeoutMessage(hypercast.MonitorAndControl.MonMessage message)
- Handling timeout for a
MonMessage
. The handler can
choose to resend the message; resending is implemented by a
higher layer - i.e. no in the Monitor
.
- Parameters:
message
- Message for which there was no reply in the
specified timeout time.