Can more than one request be sent at the same time using protocol adapter?
Here is the standard way of sending data to t-server:
Message request =
RequestRegisterAddress.create(\"610\",
RegisterMode.ModeShare,
ControlMode.RegisterDefault,
AddressType.DN
);
Message response = protocol.request(request);
if(response.messageId() != EventRegistered.ID)
{
throw new Exception(\"Unexpected response to RequestRegisterAddress\");
}
If I register 100 DNs with this protocol adapter, can the requests be sent through the same \"protocol\" by using other threads or do I need to send them one at a time?
I would hate to launch a new thread for each request, so can the response be received asynchronously?
Sanja Kulku
Technical Product Manager