Home Help Center

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

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    These operations are from Ice::Router (see slice/Ice/Router.ice). The Ice core calls these functions to communicate with routers, such as Glacier.
Sign In or Register to comment.