[jboss-jira] [JBoss JIRA] Commented: (JGRP-899) Message: remove dest_addr

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Feb 25 05:09:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JGRP-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454166#action_12454166 ] 

Bela Ban commented on JGRP-899:
-------------------------------

There would also have to be an additional send() method in JChannel, e.g.

void send(Address dest, Message msg);

Message itself only has
- src address
- payload
- headers

> Message: remove dest_addr
> -------------------------
>
>                 Key: JGRP-899
>                 URL: https://jira.jboss.org/jira/browse/JGRP-899
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.0
>
>
> We don't need this field, this will save us some memory. Note that today dest_addr is *not* shipped with a message, but nevertheless filled in on the receiving side.
> We have tests which use dest_addr to determine whether the message is a unicast or multicast message. This should go away, too, and be replaced by a flag in the message itself, ie. MULTICAST. Maybe add a method Message.isMulticast().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list