>
> Does this make sense, or am I missing something obvious?
So you are allowed to make additional use of the connection the device
initiates to send instructions? If so, can you use the ISOSource given
to your RequestListener to send out instructions ahead of (or
immediately after) sending the response?
Reusing the inbound connection would mean the device needing to be able
to accept/handle messages coming out of your system which were not
responses to it's request.
Perhaps the response (to the request) can incorporate instructions?
--
Mark
They would all pass through your ISORequestListener, so you get the
chance to do this needed matching. I don't think you can do anything
like spawning a mux for each connection, this could cause a conflict on
the channel.receive.
I do like the thought of a pool of atm connections - named per device
made available via a space, a pool of ChannelAdaptors perhaps?
>
>> Reusing the inbound connection would mean the device needing to be able
>> to accept/handle messages coming out of your system which were not
>> responses to it's request.
> The only connection to the ATM I can use is this inbound connection,
> so I don't have any choice.
Ok.
>
>> Perhaps the response (to the request) can incorporate instructions?
> No the response in general, can't have nested instructions in it.
Ok, two down, one to go 8).
>
> I think I'll try the simple approach of sending any extra messages
> after my response, and I'll see how far that gets me.
Is the inbound connection long lived, or does the ATM disconnect after
getting it's response?
I would probably try sending detail ahead of the response first, but
might also try and locate the manual for the ATM devices - which I think
should provide a 'how-to' for the exchange protocol you are after.
8)
--
Mark
I was only wondering if such an exchange might be possible.
Supporting the addition of commands to a response seemed like a nice
idea, until Jonathan indicated that responses were required.
(Which would mean piggy backing responses onto any new request.)
It might work, but would be messy and hardly real-time.
Please forget I even suggested such a thing.
;?)
--
Mark