public interface ConsumerTripManager
Manages active trips for Journey Sharing.
Use
getTrip(String)
to get a ConsumerTrip object used to monitor that trip.
Public Method Summary
abstract Set<String> |
getMonitoredTripNames()
Returns a set of all the trips the manager is currently monitoring.
|
abstract ConsumerTrip |
Public Methods
public abstract Set<String> getMonitoredTripNames ()
Returns a set of all the trips the manager is currently monitoring.
public abstract ConsumerTrip getTrip (String tripName)
Returns the ConsumerTrip object that can be used to track the given tripName. Will return an existing ConsumerTrip object for the given trip name when possible.
Parameters
tripName | Name of the trip the returned object will track. |
---|
Returns
- ConsumerTrip object