BEAST
eu.baltrad.beast.adaptor.IAdaptorCallback Interface Reference

Callback that can be used to get the result of an operation. More...

Inherited by eu.baltrad.beast.pgf.PgfClientHelper.AreaAdaptorCallback, eu.baltrad.beast.pgf.PgfClientHelper.PcsDefinitionAdaptorCallback, and eu.baltrad.beast.pgf.PgfClientHelper.QCAdaptorCallback.

Public Member Functions

void success (IBltMessage message, Object result)
 Called on success.
 
void timeout (IBltMessage message)
 Will be called if a timeout occurs.
 
void error (IBltMessage message, Throwable t)
 Will be called if an error occurs during processing of the message.
 

Detailed Description

Callback that can be used to get the result of an operation.

Author
Anders Henja

Member Function Documentation

◆ error()

void eu.baltrad.beast.adaptor.IAdaptorCallback.error ( IBltMessage message,
Throwable t )

Will be called if an error occurs during processing of the message.

Parameters
messagethe message that resulted in an error
tthe throwable

◆ success()

void eu.baltrad.beast.adaptor.IAdaptorCallback.success ( IBltMessage message,
Object result )

Called on success.

Parameters
message- the message
result- the result

◆ timeout()

void eu.baltrad.beast.adaptor.IAdaptorCallback.timeout ( IBltMessage message)

Will be called if a timeout occurs.

Parameters
messagethe message that got a timeout

The documentation for this interface was generated from the following file: