|
|
|
|||||
|
Ice 3.2.1: Java stream helper functions
I compiled some slice IDL with slice2java using the --stream option.
The resulting code does not compile. It might be my fault, but I don't know how to solve it. The IDL in question is: Code:
struct Prop {
int Index;
Ice::ByteSeq Value;
};
(I have marked the problem spots with a comment) Code:
public final class Prop implements java.lang.Cloneable
{
public int Index;
public byte[] Value;
. . .
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(Index);
Ice.ByteSeqHelper.write(__os, Value);
}
public void
__read(IceInternal.BasicStream __is)
{
Index = __is.readInt();
Value = Ice.ByteSeqHelper.read(__is);
}
public void
ice_write(Ice.OutputStream __outS)
{
__outS.writeInt(Index);
Ice.ByteSeqHelper.write(__outS, Value); // issue here
}
public void
ice_read(Ice.InputStream __inS)
{
Index = __inS.readInt();
Value = Ice.ByteSeqHelper.read(__inS); // issue here
}
Karl |
|
|||||
|
Quote:
work to throw them out. Thanks, Karl |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Helper Classes not Generated | zhi | Help Center | 5 | 01-04-2007 08:18 AM |
| How do I use Ice to process stream | hyz1840 | Help Center | 3 | 05-25-2006 08:19 AM |
| Stream helper functions and C++ templates | copton | Help Center | 7 | 01-20-2006 03:37 PM |
| Java Object Output Stream and Ice | brian | Help Center | 8 | 10-31-2005 11:18 AM |
| Generated Java Helper class has errors | ygarbourg | Help Center | 2 | 05-06-2005 03:13 PM |