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 //@ [Struct(Interface=IToiNetConfiguration,Name=TToiNetDeviceDescriptor)] 00021 interface ToiNetConfigurationNetDeviceDescriptor; 00022 interface ToiNetIpDevice; 00023 interface ToiNetMocaDevice; 00024 00031 interface ToiNetConfiguration { 00032 00034 typedef long TToiNetDeviceId; 00035 00038 //@ [Enum] 00039 typedef long TToiNetDeviceType; 00042 00048 //@ [Enumerator(Enum=TToiNetDeviceType,Name=NET_DEVICE_TYPE_ETHERNET)] 00049 const TToiNetDeviceType NET_DEVICE_TYPE_ETHERNET = 0; 00050 00056 //@ [Enumerator(Enum=TToiNetDeviceType,Name=NET_DEVICE_TYPE_MOCA)] 00057 const TToiNetDeviceType NET_DEVICE_TYPE_MOCA = 1; 00058 00060 00061 typedef sequence < ToiNetConfigurationNetDeviceDescriptor > TToiNetDeviceDescriptorSequence; 00062 00069 //@ [OutParam(Name=networkDeviceList,Position=1,IsBinary=0, Bound=0)] 00070 TToiNetDeviceDescriptorSequence getNetworkDevices(); 00071 00081 //@ [ReturnAddress(Type=IToiNetIpDevice)] 00082 00083 00084 //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)] 00085 ToiNetIpDevice getIpDevice(in TToiNetDeviceId id) 00086 raises (TToiInvalidArgumentException); 00087 00100 //@ [ReturnAddress(Type=IToiNetMocaDevice)] 00101 00102 00103 //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)] 00104 ToiNetMocaDevice getMocaDevice(in TToiNetDeviceId id) 00105 raises (TToiInvalidArgumentException, TToiOperationNotSupportedException); 00106 00107 }; 00108 00109 #endif