ANY Problem.
- From: "Vaman Nene" <vaman hotmail com>
- To: orbit-list cuc edu
- Subject: ANY Problem.
- Date: Mon, 22 Jan 2001 12:40:28 -0000
Background information:
-----------------------
I am trying to pass a structure using ANY data type. Refered version of
ORBit 5.6
My IDL is described as below .
struct ABC
{
float msgId;
long ID;
float disc;
};
// A repeated data type (float is included twice) causes runtime problem.
intrface recvIf
{
void recvANY(in any msg);
};
Problem Description:
For above IDL I have written Server using Java
And I have client in C which invokes recvAny(any) method on Server Side
which has only one Parameter 'any';
If I use a structure which has all the elements of different data types and
pass it as ANY in a method, it works well.
But when I pass a structure which has multiple elements of the same type, it
does not owrk
************** recv.idl ******************** **
struct SETUPIN
{
float msgType;
long ID;
short Disc;
};
intrface recvIf
{
void recvANY(in any msg);
};
Works well though
Is it that ORbit is not supporting such kind of functionality ?
If ORBit provides, there is not enough documentation on it.
Kindly look into the problem.
Waiting for reply.
Regards,
Vaman/Umesh
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]