Search in sources :

Example 1 with BusEventRequest

use of cl.smartcities.isci.transportinspector.serverConnection.requests.pushRequests.BusEventRequest in project androidApp by InspectorIncognito.

the class BusEventBuilder method buildCompleteReport.

@Override
public void buildCompleteReport(CompleteReportEventDrawableItem completeReportPanelItem) {
    ServerSentEvent event = new ServerSentEvent(completeReportPanelItem);
    listener.onRequestReady(new BusEventRequest(listener, event, bus), bus.getId());
}
Also used : BusEventRequest(cl.smartcities.isci.transportinspector.serverConnection.requests.pushRequests.BusEventRequest) ServerSentEvent(cl.smartcities.isci.transportinspector.model.gson.ServerSentEvent)

Aggregations

ServerSentEvent (cl.smartcities.isci.transportinspector.model.gson.ServerSentEvent)1 BusEventRequest (cl.smartcities.isci.transportinspector.serverConnection.requests.pushRequests.BusEventRequest)1