f



RE: [ace-users] RE: [tao-users] Octet Marshaling/Demarshaling issues #2

Prof Schmidt,

> Right, but Kobi's point (which I believe is correct) is that an octet
> is *encoded* into 4 bytes.  The original motivation for this was to
> maximize performance on RISC machines, where the alignment was
> traditionally 32 bit boundaries.

I don't think there is any alignment or padding required for an octet
unlike a long. This is what I see in the ACE_CDR (de) marshaling
operations.
I think you can encode the octet directly into CDR_Stream occupying 1
byte in size. This can be done (as I understand) by:

.. write_octet defined on ACE_OutputCDR or
.. using the from_octet helper struct 

Thanks,
Arvind

0
Krishna
12/28/2005 7:45:03 PM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
756 Views

Similar Articles

[PageSpeed] 24

Reply:

Similar Artilces:

Re: [ace-users] RE: [tao-users] Octet Marshaling/Demarshaling issues
Hi Arvind, >> I think you might be seeing a type promotion from octet to long. I >> just checked and ACE_CDR provides a read_octet and write_octet >> methods for reading/writing octets. Right, but Kobi's point (which I believe is correct) is that an octet is *encoded* into 4 bytes. The original motivation for this was to maximize performance on RISC machines, where the alignment was traditionally 32 bit boundaries. Take care, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-users] RE: [tao-users] Octet Marshaling/Demarshaling issues
Hi Kobi, >It takes 4 bytes to marshal a single Octet. However, when marshaling an array of Octet, it takes a single byte for >every element in the array. It seems that Octet is an exception comparing the rest of primitive data types. What is >the motivation for that? Is it dictated by an OMG spec? I think you might be seeing a type promotion from octet to long. I just checked and ACE_CDR provides a read_octet and write_octet methods for reading/writing octets. However, if you use the insertion/extraction operator then octet will be type promoted as ACE_CDR does not provide the appropriate << and >> methods. Is this what you are seeing? HTH, Arvind ...

Re: [ace-users] Re: [tao-users] Re: difficulties compling TAO with mingw and msys #2
Hi, > > Great, when we get time we will try to upgrade to a newer version of MinGW, > > but it is still a candidate. Just keep an eye on the scoreboard, when we > > upgrade you will see it there. As you can see on the scoreboard, there are > > no issues with the 3.2.3 version > > I have run all but a few of the provided tests, and all looks well. We run all ACE tests, no issues there, we are working on the TAO tests, some of the tests are able to freeze our build system > Out of curiosity, what is required for eliminating the > inline/dlli...

RE: [tao-users] Re: [ace-users] Re: Announcing the release of the new beta (ACE-5.4.10, TAO-1.4.10 and CIAO-0.4.10)
Hi, > > >> We encourage you to download the new beta, use it with your > > >> applications, and let us know soon if you encounter any problems > > >> since we plan to cut the x.5 release by February 28th. > > > > As per Wallace's comments, we have an aggressive schedule > for the x.5 > > release to meet the needs of some major sponsors. If > people can give > > x.4.10 a "test drive" in the next couple of days and report problems > > they encounter we'll try to ensure that we fix any > showstoppers before > > According to bugzilla bug 2323 is not fixed yet. > > http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=2323 > > For us it is a show stopper. We use the OCI version which does not > have problems related to this bug but it would be nice to be able to > use the latest version with more fixes. FYI, the reason that this test now fails is because Ossama added several new test cases which wheren't in the test in the past, this uncovered some bugs which according to our information where already there a long time. Johnny "Johnny Willemsen" <jwillemsen@remedy.nl> writes: > > > >> We encourage you to download the new beta, use it with your > > > >> applications, and let us know soon if you encounter any problems > > > >> sinc...

[ace-users] RE: [tao-users] Borland Developer Studio 2006 with ACE/TAO #2
Hi, See http://www.remedy.nl/en/borland.html for an overview of the supported Borland products with TAO. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl > -----Original Message----- > From: Espen Harlinn [mailto:espen@harlinn.no] > Sent: donderdag 2 februari 2006 18:06 > To: jwillemsen@remedy.nl > Cc: ace-users@cs.wustl.edu > Subject: RE: [tao-users] Borland Developer Studio 2006 with ACE/TAO > > Hi, > > I'm curious about the current status of ACE/TAO and C++ Builder 2006. > Borland shipped the promised fix/update some time ago, but I > couldn't find > anything about how it works with ACE/TAO. > > Regards > Espen Harlinn > > ...

[ace-users] RE: [tao-users] Borland Developer Studio 2006 with ACE/TAO #2
Hi, The x.4.8 version of ACE/TAO is supported with BCB2006, we have some linker warnings/errors in some configurations, Borland is working on these for Update2, but these are not causing a problem. See ACE_wrappers/ACE-INSTALL.html for info about how to use it. We deliver also commercial support for using BCB2006 with ACE/TAO. See www.theaceorb.nl for our services. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl > -----Original Message----- > From: Espen Harlinn [mailto:espen@harlinn.no] > Sent: donderdag 2 februari 2006 18:06 > To: jwillemsen@remedy.nl > Cc: ace-users@cs.wustl.edu > Subject: RE: [tao-users] Borland Developer Studio 2006 with ACE/TAO > > Hi, > > I'm curious about the current status of ACE/TAO and C++ Builder 2006. > Borland shipped the promised fix/update some time ago, but I > couldn't find > anything about how it works with ACE/TAO. > > Regards > Espen Harlinn > > ...

Re: [ace-users] Re: [tao-users] Re: difficulties compling TAO with mingw and msys
Hi, Great, when we get time we will try to upgrade to a newer version of MinGW, but it is still a candidate. Just keep an eye on the scoreboard, when we upgrade you will see it there. As you can see on the scoreboard, there are no issues with the 3.2.3 version Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlands www.theaceorb.nl / www.remedy.nl "William Lederer" <wgl@localhost.localdomain> wrote in message news:<m3pt4yrtfx.fsf@localhost.localdomain>... > Thanks! > > I followed your advice in your earli...

[tao-users] RE: [ace-users] Re: How to use Any>>=OctetSeq in TAO 1.3.6? #2
Hi, > > Heiko, could you try to add TAO_Export to front of the operators in > > OctetSeqA.h and then rebuild TAO and you app. I think the linker > > errors should be gone. > > this is the solution! Thank you :-) Thanks for the feedback. I have just committed the fix into the repo and this will be in the 1.4 release. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlands www.theaceorb.nl / www.remedy.nl ...

RE: [tao-users] RE: [ace-users] XML service configuration no longer works with ACE/TAO 5.4.5/1.4.5
Hi, > > Hi Lothar > > > > > � � ACE VERSION: 5.4.5 > > > > Thanks for using the PRF form. Could you try to find the > problem and send > > us patches to fix this? > > > > Regards, > > > > Johnny Willemsen > > I have no problem committing some time to the problem. I do > however know as > much as nothing about the ACE XML parser and it's recent > changes. It seems to > me that (some) of the recent changes might have caused the > test failures. So > if someone working actively on ACEXML gives me directions I > am willing to > spend my time investigating the problem. I can't remember that work has been done the last months so I am also amazed things broke. Nobody is actively working on it, so I think there are not much directions at this moment. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl On Wednesday 18 May 2005 11:01, Johnny Willemsen wrote: > Hi, > I can't remember that work has been done the last months so I am also > amazed things broke. Nobody is actively working on it, so I think there are > not much directions at this moment. Well, it did definiteley work with 5.4.4. So any changes that broke it must have been made between 5.4.4 and 5.4.5. I also read in the release email of 5.4.5 in the CIAO...

Re: Re: [ace-users] Design issue about GUI client with ACE. #2
Hi, >> Thanks very much. But I cannot understand how to combine the active >> object with Reactor pattern. The subclass::handle_input () receive >> messages from server, Right. >> and the subclass::handle_output () should dequeue method from >> ACE_Activation_Queue. From ACE tutorial, this action (dequeue) will >> be blocked if the queue is empty. And Reactor pattern warning me >> that every method cannot be blocked when handle I/O request. Right, don't use subclass:handle_output(). Instead, use the Half-Sync/Half-Asynch pattern (which combines Reactor and Active Object) and perform output in a separate thread - inside the active object. There are examples of how to use this pattern in C++NPv2 <www.cs.wustl.edu/~schmidt/ACE/book2> and POSA2 <www.cs.wustl.edu/~schmidt/POSA/>. Take care, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

RE: [ace-users] Re: ACE #2
This is a multi-part message in MIME format. ------_=_NextPart_001_01C6413F.CD2A80C8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Logging_Strategy problems were fixed in 5.4.7. You should definitely upgrade. =20 Howard =20 _____ =20 From: owner-ace-users@cse.wustl.edu [mailto:owner-ace-users@cse.wustl.edu] On Behalf Of Kobi Cohen-Arazi Sent: Thursday, March 02, 2006 12:44 AM To: hileon@gmail.com Cc: ace-users@cs.wustl.edu Subject: Re: [ace-users] Re: ACE =20 Hi, We had bugs in that specific area (Limit the size using Logging_Strategy) in x.4.0. You probably seeing that same bug ... It was fixed year ago. Upgrading may help.=20 Thanks, Kobi. On 3/1/06, Douglas C. Schmidt <schmidt@cse.wustl.edu> wrote: Hi, >> I use ACE 5.4+TAO 1.4. To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM=20 $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to=20 "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. Moreover, please upgrade to ACE+TAO x.4.10, which you can download...

RE: [ace-users] Re: ACE #2
Hi Folks, > Sorry about the wrong message. It does work, I did not wait enough > To roll it over. Ok, great - I'm glad to hear that it works! Thanks, Doug ...

RE: [ace-users] Re: ACE #2
Hi, Somewhere in your app you should run the reactor loop Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl > >> I update the ACE version to 5.4.10, but it seems have no help. > >> > >> ACE_Logging_Strategy : the -m option does not work. > >> > >> ACE VERSION: 5.4.10 > >> > >> HOST MACHINE and OPERATING SYSTEM: > >> Windows XP SP2 > >> > >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: > >> Windows XP SP2 > >> > >> THE $ACE_ROOT/ace/config.h FILE : > >> #include "ace/config-win32.h" > >> > >> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU > FILE [if you > >> use a link to a platform-specific file, simply state which one > >> (unless this isn't used in this case, e.g., with > Microsoft Visual > >> C++)]: > >> Microsoft Visual C++ 6.0 sp6 > >> > >> CONTENTS OF > >> $ACE_ROOT/bin/MakeProjectCreator/config/default.features > >> (used by MPC when you generate your own makefiles): > >> There is no this file. > >> > >> AREA/CLASS/EXAMPLE AFFECTED: > >> APG\Logging\Use_Logging_Strategy.d...

Re: [ace-users] Octet Marshaling/Demarshaling issues
Hi Kobi, Thanks for using the PRF. >> PRF: >> TAO VERSION: 1.4.6 >> ACE VERSION: 5.4.6 >> >> HOST MACHINE and OPERATING SYSTEM: >> Linux, FC3, 2.6.10 >> >> DOES THE PROBLEM AFFECT: >> EXECUTION? YES >> >> Summary: >> It takes 4 bytes to marshal a single Octet. Right. >> However, when marshaling an array of Octet, it takes a single byte >> for every element in the array. It seems that Octet is an exception >> comparing the rest of primitive data types. Yes, that's correct. >> What is the motivation for that? To avoid wasting any more space than necessary when dealing with sequences/arrays. >> Is it dictated by an OMG spec? Yes, definitely. This type of "optimization" is common. Take care, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[tao-users] RE: [ace-users] ACE/TAO on Solaris 10
Hi, There have been some replies. People do have things working on Solaris and there have been made fixes in ACE/TAO. Could you wait another week or so and try the x.4.8 or try cvs, see http://cvs.doc.wustl.edu Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl > Dear list members, > > (I sent this message couple of days ago and am unsure if it > was distributed, > thus re-sending it again. I apologize if you received it more > than once) > > I would like to give feedback regarding availability of > ACE/TAO (versions > 5.4.7 and 1.4.7 respectively) on OpenSolaris (Solaris 10) > Intel platform. > > Sun is selectively releasing source code of the Solaris 10 under an > open-source license. Details of this project and installable Solaris > binaries can be found on here: > http://www.opensolaris.org > > Sun has also released Forte compiler set in binary form to > the OpenSolaris > community. A Quote from their website: "Sun Studio 10 > software is freely > available to participants in the OpenSolaris community for > development on > both OpenSolaris and Solaris[tm] Operating Systems on > SPARC-based systems > and x86-based systems, as well as on Linux." You can get > access to Forte > compilers from the OpenSolaris website as well but you should register...

RE: [ace-users] Re: what version tao/ace for AIX 5.2 posix aio
Hi Duane, I can't speak for TAO's use of AIO, but ACE 5.4 does support AIO on AIX 5.2. -Steve -- Steve Huston, Riverace Corporation Co-author of "C++ Network Programming" and "The ACE Programmer's Guide" Books, ACE kit and support info at http://www.riverace.com/ > -----Original Message----- > From: owner-ace-users@cse.wustl.edu > [mailto:owner-ace-users@cse.wustl.edu] On Behalf Of Douglas C. Schmidt > Sent: Sunday, July 04, 2004 2:49 PM > To: shuston@riverace.com; ace-users@cs.wustl.edu > Subject: [ace-user...

Re: [ace-bugs] Re: [ace-users] RE: Module->open() #2
Hi, >> I guess I'm just pushing the limits a bit and trying to avoid >> writing a whole bunch of new code. This is a time-honored way in which ACE evolves. >> I view ACE_Stream/Module/Task as a good vehicle for a >> component-based design of network protocol processing that includes >> complex/stateful behaviors. Right, I agree. >> The Streams framework has components and behaviors relevant to >> dynamically configuring services which consist of a set of >> cooperating sub-objects. I understand that the assumption in ...

[tao-users] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
Hi, >> My only guess is that all of the libs you are linking in your >> builds were not compiled with a consistent set of options. Right, my recommendation would be to completely blow away your existing ACE+TAO x.5 directory, download a fresh version, and start from a clean slate. It sounds like you may have things lying around from previous build attempts. Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[tao-users] Re: [ace-users] Re: Query
Hi Bill, Thanks very much for your email. Please make sure to send all questions related to TAO or ACE to the ACE mailing list or ACE+TAO newsgroup, rather than to me directly. > Actually this email is very appropriate. We at The Weather Channel > are attempting to build ACE+TAO version 5.4 on an AMD opteron using > g++ 3.3.3. > > The only errors we have seen thus far and in a component that we don't really > intend on using is: This problem was fixed before the x.4.1 release, so if you download it from http://deuce.doc.wustl.edu/Download.html you'll get a wo...

Web resources about - RE: [ace-users] RE: [tao-users] Octet Marshaling/Demarshaling issues #2 - comp.soft-sys.ace

Resources last updated: 3/5/2016 10:55:30 AM