Motorola Mobility Confidential Restricted.
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/dist/idl/js/toi/ToiNetConfiguration.idl
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * ToiNetConfiguration.idl
00005  *
00006  * This file was created by the Motorola IDL backend, 
00007  * which is based on the OmniORB IDL parser.
00008  * Please do not modify.
00009  *
00010  * Copyright (c) 2009 Motorola Inc. All Rights Reserved.
00011  *
00012  *--------------------------------------------------------------------
00013  */
00014 
00015 #ifndef TOINETCONFIGURATION_IDL
00016 #define TOINETCONFIGURATION_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiOperationNotSupportedException.idl"
00020 #include "TToiInvalidPreconditionException.idl"
00021 //@ [Struct(Interface=IToiNetConfiguration,Name=TToiNetDeviceInfo)]
00022 interface ToiNetConfigurationNetDeviceInfo;
00023 interface ToiNetIpDevice;
00024 interface ToiNetEthernetDevice;
00025 interface ToiNetMocaDevice;
00026 
00033 interface ToiNetConfiguration {
00034 
00036   typedef long TToiNetDeviceId;
00037   
00039   typedef sequence < TToiNetDeviceId > TToiNetDeviceIdSequence;
00040   
00043   //@ [Enum]
00044   typedef long TToiNetDeviceType;
00047   
00054   //@ [Enumerator(Enum=TToiNetDeviceType,Name=NET_DEVICE_TYPE_ETHERNET)]
00055   const TToiNetDeviceType NET_DEVICE_TYPE_ETHERNET = 0x1;
00056   
00063   //@ [Enumerator(Enum=TToiNetDeviceType,Name=NET_DEVICE_TYPE_MOCA)]
00064   const TToiNetDeviceType NET_DEVICE_TYPE_MOCA = 0x2;
00065   
00072   //@ [Enumerator(Enum=TToiNetDeviceType,Name=NET_DEVICE_TYPE_ESTB)]
00073   const TToiNetDeviceType NET_DEVICE_TYPE_ESTB = 0x4;
00074   
00081   //@ [Enumerator(Enum=TToiNetDeviceType,Name=NET_DEVICE_TYPE_ALL)]
00082   const TToiNetDeviceType NET_DEVICE_TYPE_ALL = 0xff;
00083   
00085 
00098   //@ [OutParam(Name=identifiers,Position=2,IsBinary=0, Bound=0)]
00099   TToiNetDeviceIdSequence getNetworkDevices(in long typeMask)
00100    raises (TToiInvalidArgumentException);
00101   
00113   //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)]
00114   ToiNetConfigurationNetDeviceInfo getGenericDeviceInfo(in TToiNetDeviceId id)
00115    raises (TToiInvalidArgumentException);
00116   
00131   //@ [ReturnAddress(Type=IToiNetIpDevice)]
00132   
00133   
00134   //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)]
00135   ToiNetIpDevice getIpDevice(in TToiNetDeviceId id)
00136    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00137   
00155   //@ [ReturnAddress(Type=IToiNetEthernetDevice)]
00156   
00157   
00158   //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)]
00159   ToiNetEthernetDevice getEthernetDevice(in TToiNetDeviceId id)
00160    raises (TToiInvalidArgumentException, TToiOperationNotSupportedException, TToiInvalidPreconditionException);
00161   
00179   //@ [ReturnAddress(Type=IToiNetMocaDevice)]
00180   
00181   
00182   //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)]
00183   ToiNetMocaDevice getMocaDevice(in TToiNetDeviceId id)
00184    raises (TToiInvalidArgumentException, TToiOperationNotSupportedException, TToiInvalidPreconditionException);
00185   
00186 };
00187 
00188 #endif