Home Help Center

Problem with slice

cesartoviccesartovic Member ✭✭
Hello!!

I compiled an aplication and I have a lot of problem with slice2javae, for example here is one of them:

Clases.ice:18: Sequence `allNotifications' cannot contain object values.

Here is Clases.ice:

#ifndef CLASES_ICE
#define CLASES_ICE


module Management{

class Notification
{
string idMachine;
string idGame;
string clase;
string name;
string info;
string timeStamp;

};

sequence<Notification> allNotifications;
dictionary<string,string> parameters;
};


#endif


can you help me?

Thanks

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    You cannot marshal objects with IceE. If you change that class to a struct it will work. If you need to use object-by-value with IceE you should contact [email protected].
Sign In or Register to comment.