Hey Danny,
thanks for the response…. I think there is still a good reason for an async operation even if the data is limited. If your implementation is asynchronous you can so make best use of resources. Also it make the api more consistent across "send" operations. On the side-note I also think we should provide an async close operation if possible.
---
Norman Maurer
nmaurer_at_redhat.com
JBoss, by Red Hat
Am 12.02.2013 um 01:39 schrieb Danny Coward <danny.coward_at_oracle.com>:
> Hey Norman,
>
> I think because the ping/pong is so you can tell if the connection is alive, we just need a simple synchronous send. The data is limited, the send should be immediate and shouldn't be a complicated process. So I can't see a reason to make it asynchronous ?
>
> - Danny
>
>
> On 2/11/13 1:08 AM, Norman Maurer wrote:
>> Hi all,
>>
>> what is the reason to have no async way of sending PING and PONG messages ? Just to limit the methods in the interface ?
>>
>> ---
>> Norman Maurer
>> nmaurer_at_redhat.com
>>
>> JBoss, by Red Hat
>>
>>
>>
>
>
> --
> Danny Coward
> Java EE
> Oracle Corporation