org.onebusaway.transit_data_federation.impl.realtime.orbcad
Class OrbcadRecordFtpSource
java.lang.Object
org.onebusaway.transit_data_federation.impl.realtime.orbcad.AbstractOrbcadRecordSource
org.onebusaway.transit_data_federation.impl.realtime.orbcad.OrbcadRecordFtpSource
@ManagedResource(value="org.onebusaway.transit_data_federation.impl.realtime.orbcad:name=OrbcadRecordFtpSource")
public class OrbcadRecordFtpSource
- extends AbstractOrbcadRecordSource
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 |
OrbcadRecordFtpSource
public OrbcadRecordFtpSource()
setDataSource
public void setDataSource(FtpDataSource dataSource)
setDataDirectory
public void setDataDirectory(String dataDirectory)
getTotalFtpFiles
@ManagedAttribute
public int getTotalFtpFiles()
- JMX Attributes
getNewFtpFiles
@ManagedAttribute
public int getNewFtpFiles()
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()
- Private Methods
- Overrides:
setup
in class AbstractOrbcadRecordSource
handleRefresh
protected void handleRefresh()
throws IOException
- Specified by:
handleRefresh
in class AbstractOrbcadRecordSource
- Throws:
IOException
Copyright © 2012 OneBusAway. All Rights Reserved.