Results 1 to 6 of 6

Thread: slice2sl 0.3.0 - amd code generation

  1. #1
    kwaclaw is offline Registered User
    Name: Karl Waclawek
    Organization: Personal
    Project: Whiteboard application
    Join Date
    Sep 2004
    Location
    Oshawa, Canada
    Posts
    159

    slice2sl 0.3.0 - amd code generation

    Seems slice2sl does not generate correct code for AMD.
    Tested with this interface declaration:

    Code:
      interface FSListener {
        ["ami", "amd"] void Changed(string path, string name, byte chgTypes);
        ["ami", "amd"] void Renamed(string path, string name, string oldPath, string oldName, byte chgTypes);
        ["ami", "amd"] void Error(bool isBufferOverflow, string message);
      };
    Karl
    Karl Waclawek

  2. #2
    dwayne's Avatar
    dwayne is offline ZeroC Staff
    Name: Dwayne Boone
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Jan 2005
    Location
    St. John's, Newfoundland
    Posts
    397
    Silverlight 0.3 was not meant to support AMD. However, it still should not be generating uncompilable code when the amd keyword is present.

  3. #3
    kwaclaw is offline Registered User
    Name: Karl Waclawek
    Organization: Personal
    Project: Whiteboard application
    Join Date
    Sep 2004
    Location
    Oshawa, Canada
    Posts
    159
    Quote Originally Posted by dwayne View Post
    Silverlight 0.3 was not meant to support AMD. However, it still should not be generating uncompilable code when the amd keyword is present.
    I am trying to use the new socket transport with call-backs. Would client AMD not be the best way to have the call-back finish the quickest from the server's point of view (two-way call-back)?

    Just to explain: The project's purpose is to demonstrate that ICE can do call-backs (even in Silverlight) where web services fail.
    Karl Waclawek

  4. #4
    dwayne's Avatar
    dwayne is offline ZeroC Staff
    Name: Dwayne Boone
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Jan 2005
    Location
    St. John's, Newfoundland
    Posts
    397
    Yes, AMD can give quicker response times if an operation requires further processing after it is ok to send a response back to the caller. However, for an operation which just processes the request and sends the result back to the caller, AMD will not give faster response times.

  5. #5
    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
    Quote Originally Posted by kwaclaw View Post
    I am trying to use the new socket transport with call-backs. Would client AMD not be the best way to have the call-back finish the quickest from the server's point of view (two-way call-back)?
    If you must have two-wall callbacks you should also consider using AMI on the server side to avoid blocking the calling thread.

  6. #6
    kwaclaw is offline Registered User
    Name: Karl Waclawek
    Organization: Personal
    Project: Whiteboard application
    Join Date
    Sep 2004
    Location
    Oshawa, Canada
    Posts
    159
    Quote Originally Posted by matthew View Post
    If you must have two-wall callbacks you should also consider using AMI on the server side to avoid blocking the calling thread.
    Yes, that is what I am doing. Thanks for the advice.
    Karl Waclawek

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. slice2sl 0.3.0 - code generation for dispatch__
    By kwaclaw in forum Bug Reports
    Replies: 3
    Last Post: 09-26-2008, 09:54 AM
  2. Slice2Java code generation
    By JShah in forum Comments
    Replies: 1
    Last Post: 01-18-2008, 05:22 PM
  3. ICE 3.0.0 CS code generation issue
    By DeepDiver in forum Bug Reports
    Replies: 2
    Last Post: 11-18-2005, 01:48 PM
  4. Java 5.0 code generation for slice2java
    By vsonnathi in forum Comments
    Replies: 2
    Last Post: 11-17-2005, 01:58 PM
  5. C# code generation issue
    By DeepDiver in forum Bug Reports
    Replies: 3
    Last Post: 09-01-2005, 05:54 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
  •