Results 1 to 2 of 2

Thread: Problem with slice

  1. #1
    cesartovic's Avatar
    cesartovic is offline Registered User
    Join Date
    Feb 2006
    Posts
    50

    Problem with slice

    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
    Name: César Rodríguez Maurelo
    Project:working with TC65 that supports j2ME aplicattions and I will use Ice to comunicate with a server.The project is a consorcium betwen "Universidad Politecnica de Madrid" and "Recreativos Franco".
    url: http://www.die.upm.es/
    We are trying to improve the technologie of some game machines and one important aspect is communications.The project haven´t got name

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    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 info@zeroc.com.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ice.slice definition problem
    By Marek Nos in forum Help Center
    Replies: 0
    Last Post: 05-27-2009, 07:51 AM
  2. Replies: 7
    Last Post: 04-23-2009, 02:15 PM
  3. Ice-3.3.0 slice .h problem
    By sober in forum Help Center
    Replies: 2
    Last Post: 07-09-2008, 08:08 AM
  4. a strange problem about slice
    By kemp in forum Help Center
    Replies: 1
    Last Post: 06-08-2005, 02:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •