|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IDataSource
The interface for creating a bidirectional connection to a datasource.
Example:
IEntityHandler request = ds.createRequest(responseHandler);
request.beginMessage(IEntityHandler.ENTITY_REQUEST);
request.attribute(IEntityHandler.SEARCH_STRING, "foo");
request.endMessage();
The responseHandler is guaranteed to have recieved the datasource's response by the time endMessage() returns.
| Method Summary | |
|---|---|
IEntityHandler |
createRequest(IEntityHandler callback)
Create a request. |
| Method Detail |
|---|
IEntityHandler createRequest(IEntityHandler callback)
callback - The IEntityHandler that will recieve the response.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||