{
responseList = new ArrayList(responses.size());
responseIterator = responses.iterator();
}
Callback callback = null;
Object response = null;
String listenerId = null;
for (int i = 0; i < callbacks.size(); i++)
{
callback = (Callback) idsIterator.next();
if (responseIterator != null)
{
response = responseIterator.next();
}
Map returnPayload = callback.getReturnPayload();
if (returnPayload != null)
{
Object callbackId = returnPayload.get(ServerInvokerCallbackHandler.CALLBACK_ID);
if (callbackId != null)