ToiChannelService.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TOICHANNELSERVICE_IDL
00016 #define TOICHANNELSERVICE_IDL
00017
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiNotEnoughResourcesException.idl"
00020 #include "TToiUnhandledValueException.idl"
00021 #include "ToiApplicationService.idl"
00022 #include "ToiOperationManager.idl"
00023 #include "TToiOperationNotSupportedException.idl"
00024 #include "TToiNoDataException.idl"
00025 #include "TToiSessionViolationException.idl"
00026 #include "ToiMediaSession.idl"
00027 #include "ToiFrontendService.idl"
00028 #include "ToiEventTarget.idl"
00029
00030
00031 interface ToiChannelServicePropertyDefinition;
00032
00033 interface ToiChannelServiceProperty;
00034
00035 interface ToiChannelServiceQueryCondition;
00036
00037 interface ToiChannelServiceChannelInfo;
00038
00046
00047
00050 interface ToiChannelService : ToiEventTarget {
00051
00054
00058 const long ON_CHANNELS_ADDED = 4000;
00059
00063 const long ON_CHANNELS_REMOVED = 4001;
00064
00068 const long ON_CHANNELS_CHANGED = 4002;
00069
00071
00077
00084 const ToiOperationManager::TToiOperationResult OP_RESULT_CHANNEL_INFO = 1;
00085
00087
00089 typedef string TToiPropertyId;
00090
00092 typedef sequence < TToiPropertyId > TToiPropertyIdSequence;
00093
00095 typedef string TToiPropertyValue;
00096
00098 typedef long TToiChannelId;
00099
00101 typedef sequence < TToiChannelId > TToiChannelIdSequence;
00102
00105
00106 typedef long TToiPropertyType;
00109
00115
00116 const TToiPropertyType TYPE_BOOLEAN = 0;
00117
00123
00124 const TToiPropertyType TYPE_STRING = 1;
00125
00131
00132 const TToiPropertyType TYPE_INTEGER = 2;
00133
00135
00141
00147 const string PROPERTY_MODULATION_SYSTEM_TYPE = "system.modulationsystemtype";
00148
00153 const string PROPERTY_NETWORK_NAME = "system.networkname";
00154
00159 const string PROPERTY_NETWORK_ID = "system.networkid";
00160
00165 const string PROPERTY_SERVICE_TYPE = "system.servicetype";
00166
00171 const string PROPERTY_SERVICE_PROVIDER = "system.serviceprovider";
00172
00177 const string PROPERTY_SERVICE_ID = "system.serviceid";
00178
00183 const string PROPERTY_SERVICE_NAME = "system.servicename";
00184
00190 const string PROPERTY_LOGICAL_CHANNEL_NUMBER = "system.logicalchannelnumber";
00191
00197 const string PROPERTY_VISIBLE = "system.visible";
00198
00204 const string PROPERTY_FREE = "system.free";
00205
00211 const string PROPERTY_ORIGINAL_NETWORK_ID = "system.originalnetworkid";
00212
00218 const string PROPERTY_TRANSPORT_STREAM_ID = "system.transportstreamid";
00219
00224 const string PROPERTY_DELIVERY_SYSTEM_DESCRIPTOR = "system.deliverysystemdescriptor";
00225
00239 const string PROPERTY_URI = "system.uri";
00240
00248 const string PROPERTY_SOURCE_ID = "system.sourceid";
00249
00255 const string PROPERTY_FREQUENCY = "system.frequency";
00256
00262 const string PROPERTY_MODULATION_FORMAT = "system.modulationformat";
00263
00265 typedef sequence < ToiChannelServiceProperty > TToiPropertySequence;
00266
00270
00271 typedef long TToiConditionOperation;
00274
00280
00281 const TToiConditionOperation EQUALS = 0;
00282
00288
00289 const TToiConditionOperation NOT_EQUAL = 1;
00290
00292
00293 typedef sequence < ToiChannelServiceQueryCondition > TToiQueryConditionSequence;
00294
00296 typedef sequence < ToiChannelServiceChannelInfo > TToiChannelInfoSequence;
00297
00317
00318
00319
00320
00321 ToiOperationManager getOperationManager();
00322
00338
00339 ToiChannelServicePropertyDefinition getPropertyDefinition(in TToiPropertyId propertyId)
00340 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException);
00341
00374 void runQuery(in ToiOperationManager::TToiOperationId operationId,
00375 in TToiQueryConditionSequence queryConditions,
00376 in TToiPropertyIdSequence requestedProperties)
00377 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException);
00378
00402
00403
00404
00405
00406 TToiChannelInfoSequence getChannelsInfo(in TToiChannelIdSequence channels,
00407 in TToiPropertyIdSequence requestedProperties)
00408 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException);
00409
00426
00427
00428
00429
00430 TToiChannelInfoSequence getChannelInfoResult(in ToiOperationManager::TToiOperationId operationId)
00431 raises (TToiInvalidArgumentException, TToiNoDataException);
00432
00433 };
00434
00435 #endif