T.R | Title | User | Personal Name | Date | Lines |
---|
2613.1 | you can' ask who called me. | GOSTE::J_CALLANDER | | Mon Mar 23 1992 12:21 | 9 |
| currently there is no way of knowing who is doing the calling. The
call interface does not provide a mechnism for saying, I called
you, nor does it have a documented routine for asking the kernel
who it was.
Sorry, was there a reason they needed this? There are always
alternatives to most ideas, maybe if you post the problem they are
trying to solve we might be able to help with an alternative solution.
|
2613.2 | an additional argument as one of the possible solutions | TOOK::SHMUYLOVICH | | Mon Mar 23 1992 17:26 | 8 |
|
One of the possible solutions is to use an additional argument in this
directive (assuming that the directive is an "action" directive).
Depending on the value of this additional argument your AM can decide
who the caller is.
Sam
|
2613.3 | | TOOK::STRUTT | Management - the one word oxymoron | Tue Mar 24 1992 17:08 | 15 |
| THe design of MCC intermodule calling presumed that there was no need
for a called module to understand who (ie. which module) requested the
service, nor from which system the request originated.
Assuming that you have a reason that the service requested should vary
based on the identity of the requestor then:
1/ as Jill says in .1 - please let us know why - either we made
a wrong assumption and perhaps we should consider fixing it or
there might be another solution to the problem
2/ assuming you have a valid need, I would suggest that you have
and additional request argument to the service that indicates
which variant of the service is being requested (which is
tantamount to indicating where the request came from)
Colin
|
2613.4 | OK-- thanks | BONNET::DENIS | michel Denis | Wed Mar 25 1992 02:00 | 11 |
|
Thank you for your answers-- they should satisfy the customer.
What he wanted to do is to write an AM that offers the traditional
(SHOW, entity, partition) service, and, based on the caller, to go
either to the Agent or to go and find the info in the MIR (supposing it
was put there by another service..)
Thanks again,
michel
|