[jboss-jira] [JBoss JIRA] Updated: (JGRP-932) Replace header names and protocol names with IDs

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Feb 12 10:42:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JGRP-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-932:
--------------------------

    Fix Version/s: 2.11
                       (was: 3.0)


> Replace header names and protocol names with IDs
> ------------------------------------------------
>
>                 Key: JGRP-932
>                 URL: https://jira.jboss.org/jira/browse/JGRP-932
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.11
>
>
> We currently use strings as header names. Since a header has to have a magic number, we can replace strings with shorts. A short is always 2 bytes and we don't need to send (potentially long) names around. 
> A message would then have a Headers hashmap of shorts and Headers. A protocol would also have to be able to catch its own headers, e.g. by creating a method getId(). UDP.getId() might return 56, which is the value in jg-magic-map.xml for TpHeader.
> This will solve https://jira.jboss.org/jira/browse/JGRP-872.

-- 
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