|
BEAST
|
Public Member Functions | |
| String | getName () |
| Returns the name that uniquely identifies this adaptor. | |
| String | getType () |
| Returns the type of this adaptor. | |
| void | handle (IBltMessage msg) |
| Handles a message. | |
| void | handle (IBltMessage msg, IAdaptorCallback callback) |
| Handles a message. | |
| String eu.baltrad.beast.adaptor.IAdaptor.getName | ( | ) |
Returns the name that uniquely identifies this adaptor.
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcAdaptor.
| String eu.baltrad.beast.adaptor.IAdaptor.getType | ( | ) |
Returns the type of this adaptor.
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcAdaptor.
| void eu.baltrad.beast.adaptor.IAdaptor.handle | ( | IBltMessage | msg | ) |
Handles a message.
If this adaptor could not handle the message an AdaptorException should be thrown. However, it is optional to throw the exception and instead use a callback indicating an error,
handle(IBltMessage, IAdaptorCallback). This means that the adaptor itself MAY have a callback function that triggers internally when this method is called. | msg | the message |
| AdaptorException |
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcAdaptor.
| void eu.baltrad.beast.adaptor.IAdaptor.handle | ( | IBltMessage | msg, |
| IAdaptorCallback | callback ) |
Handles a message.
This message will post a callback if provided.
| msg | the message to send |
| callback | the callback that should get the response (MAY BE NULL) |
| AdaptorException | - on error or if not supported. |
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcAdaptor.