org.onebusaway.transit_data_federation.impl.realtime.orbcad
Class OrbcadRecordHttpSource

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.realtime.orbcad.AbstractOrbcadRecordSource
      extended by org.onebusaway.transit_data_federation.impl.realtime.orbcad.OrbcadRecordHttpSource

@ManagedResource(value="org.onebusaway.transit_data_federation.impl.realtime.orbcad:name=OrbcadRecordHttpSource")
public class OrbcadRecordHttpSource
extends AbstractOrbcadRecordSource


Nested Class Summary
 
Nested classes/interfaces inherited from class org.onebusaway.transit_data_federation.impl.realtime.orbcad.AbstractOrbcadRecordSource
AbstractOrbcadRecordSource.AvlRefreshTask, AbstractOrbcadRecordSource.RecordHandler
 
Field Summary
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.realtime.orbcad.AbstractOrbcadRecordSource
_agencyIds, _executor
 
Constructor Summary
OrbcadRecordHttpSource()
           
 
Method Summary
protected  void handleRefresh()
           
protected  void setup()
          Protected Methods
 void setUrl(String url)
           
 void start()
          Setup and Teardown
 void stop()
           
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.realtime.orbcad.AbstractOrbcadRecordSource
getRecordsTotal, getRecordsValid, getRecordsWithoutBlockId, getRecordsWithoutBlockIdInGraph, getRecordsWithoutServiceDate, getRecordWithoutScheduleDeviation, setAgencyId, setAgencyIds, setBlockCalendarService, setBlockIdMappingFile, setRefreshInterval, setScheduledBlockLocationService, setVehicleLocationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrbcadRecordHttpSource

public OrbcadRecordHttpSource()
Method Detail

setUrl

public void setUrl(String url)

start

@PostConstruct
public void start()
           throws SocketException,
                  IOException
Setup and Teardown

Overrides:
start in class AbstractOrbcadRecordSource
Throws:
SocketException
IOException

stop

@PreDestroy
public void stop()
          throws IOException
Overrides:
stop in class AbstractOrbcadRecordSource
Throws:
IOException

setup

protected void setup()
Protected Methods

Overrides:
setup in class AbstractOrbcadRecordSource

handleRefresh

protected void handleRefresh()
                      throws IOException
Specified by:
handleRefresh in class AbstractOrbcadRecordSource
Throws:
IOException


Copyright © 2011 OneBusAway. All Rights Reserved.