Results 1 to 2 of 2

Thread: demo/glacier2/callback problem

  1. #1
    alienwolf is offline Registered User
    Join Date
    Feb 2005
    Location
    xi'an China
    Posts
    3

    demo/glacier2/callback problem

    I tried the callback sample on one compiter today,and i was confused by the client's trace messenge .
    here is the client trace messenge after the createsesion operation was invoked:
    ...
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: sending request
    message type = 0 (request)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 58
    request id = 3
    identity = Glacier2/router
    facet =
    operation = getServerProxy
    mode = 1 (nonmutating)
    context = ]
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: received reply
    message type = 2 (reply)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 83
    request id = 3
    reply status = 0 (ok) ]
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: sending request

    message type = 0 (request)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 58
    request id = 4
    identity = Glacier2/router
    facet =
    operation = getClientProxy
    mode = 1 (nonmutating)
    context = ]

    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: received reply
    message type = 2 (reply)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 67
    request id = 4
    reply status = 0 (ok) ]
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: sending request

    message type = 0 (request)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 93
    request id = 5
    identity = Glacier2/router
    facet =
    operation = addProxy
    mode = 2 (idempotent)
    context = ]

    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: received reply
    message type = 2 (reply)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 25
    request id = 5
    reply status = 0 (ok) ]
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: sending request

    message type = 0 (request)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 62
    request id = 6
    identity = callback
    facet =
    operation = ice_isA
    mode = 1 (nonmutating)
    context = ]
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: received reply
    message type = 2 (reply)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 26
    request id = 6
    reply status = 0 (ok) ]
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: sending request

    message type = 0 (request)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 58
    request id = 7
    identity = Glacier2/router
    facet =
    operation = getServerProxy
    mode = 1 (nonmutating)
    context = ]
    [ C:/Ice-2.1.0-VC60/demo/Glacier2/callback/client.exe: Protocol: received reply
    message type = 2 (reply)
    compression status = 0 (not compressed; do not compress response, if any)
    message size = 83
    request id = 7
    reply status = 0 (ok) ]
    ....


    please notice the red text ,i just cannot understand when and where the getClientProxy and addProxy operations were invoked,i couldn't find the corresponding code in the client programme.

    thx&Best Regards

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    These operations are from Ice::Router (see slice/Ice/Router.ice). The Ice core calls these functions to communicate with routers, such as Glacier.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 03-14-2011, 05:08 PM
  2. Replies: 5
    Last Post: 01-08-2009, 12:11 PM
  3. demo/ice/callback problem
    By Rerox in forum Help Center
    Replies: 1
    Last Post: 07-27-2005, 04:54 PM
  4. The "callback" string in the callback demo
    By catalin in forum Help Center
    Replies: 2
    Last Post: 08-27-2004, 12:53 AM
  5. Properties for the callback demo
    By catalin in forum Help Center
    Replies: 1
    Last Post: 02-16-2004, 09:15 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
  •