IScannerService.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef ISCANNERSERVICE_IDL
00012 #define ISCANNERSERVICE_IDL
00013
00014 #include "TToiNotEnoughResourcesException.idl"
00015 #include "TToiInvalidArgumentException.idl"
00016 #include "TToiInvalidPreconditionException.idl"
00017
00025 interface IScannerService
00026 {
00027
00028 enum TDeliverySystemType
00029 {
00030
00031
00032
00033 ISDB_T,
00034
00035
00036
00037 ISDB_CS,
00038
00039
00040
00041 ISDB_BS,
00042
00043
00044
00045 IPSP,
00046
00047
00048
00049 ISDB_T_RETRANSMISSION,
00050
00051
00052
00053 DVB_T,
00054
00055
00056
00057 DVB_C
00058 };
00059
00060 enum TScanMode
00061 {
00062
00063
00064
00065 SCAN_MODE_INITIAL,
00066
00067
00068
00069 SCAN_MODE_RESCAN
00070 };
00071
00072 enum TBand
00073 {
00074
00075
00076
00077 BAND_UHF,
00078
00079
00080
00081 BAND_VHF,
00082
00083
00084
00085 BAND_MID,
00086
00087
00088
00089 BAND_SHB
00090 };
00091
00092 typedef sequence < TBand > TBandList;
00093
00104 void SetRegionCode(in long regionCode)
00105 raises (TToiInvalidArgumentException);
00106
00121 void UpdateOneTouchButton(in TDeliverySystemType type,
00122 in long oneTouchButton,
00123 in long originalNetworkId,
00124 in long transportStreamId,
00125 in long serviceId)
00126 raises (TToiInvalidArgumentException);
00127
00137 void SetScanMode(in TScanMode scanMode)
00138 raises (TToiInvalidArgumentException);
00139
00157 void ScanFrequencyBands(in TDeliverySystemType type,
00158 in TBandList bandList)
00159 raises (TToiNotEnoughResourcesException, TToiInvalidArgumentException);
00160
00179 void Scan(in TDeliverySystemType type,
00180 in string serverAddress)
00181 raises (TToiNotEnoughResourcesException, TToiInvalidArgumentException);
00182
00193 void Abort()
00194 raises (TToiInvalidPreconditionException);
00195
00207 void Clear(in TDeliverySystemType type)
00208 raises (TToiNotEnoughResourcesException, TToiInvalidArgumentException);
00209
00227 void StartFrontendMonitor(in TDeliverySystemType deliverySystemType,
00228 in string deliverySystemDescriptor)
00229 raises (TToiNotEnoughResourcesException, TToiInvalidArgumentException);
00230
00239 void StopFrontendMonitor()
00240 raises (TToiInvalidPreconditionException);
00241
00242
00253 void RegisterObserver(in long applicationId, in string address) raises (TToiInvalidArgumentException);
00259 void ReleaseObserver(in string address) raises (TToiInvalidArgumentException);
00260
00261 };
00262
00263 #endif