Writing Apache NMS in ABL 10.2B

Posted by jmls on 09-Apr-2010 15:23

I've set myself an interesting project, to convert the ApacheMQ c# stomp client (http://activemq.apache.org/nms/) into ABL. This will hopefully #1) give me some insight into how c# and classes work, #2) how to convert c# into ABL, #3)  to write (another) STOMP client, and #4) make it usable by all progress clients.

To that end, I'm going to need a lot of hand-holding wuth c# and objects - but hopefully will throw up a lot of examples for others to follow. I'm also going to probably have to provide a number of classes in ABL that are present in .net in order to achieve #4

#1. "BinaryWriter"  (http://msdn.microsoft.com/en-us/library/system.io.binarywriter.aspx). Can I make my own class of binary writer by using OUTPUT BINARY ?

All Replies

Posted by Admin on 09-Apr-2010 19:46

#1. "BinaryWriter"Â (http://msdn.microsoft.com/en-us/library/system.io.binarywriter.aspx). Can I make my own class of binary writer by using OUTPUT BINARY ?

Probably not in such a generic way as with .NET streams. A .NET stream can read and write to/from more than just a disk file. There is for instance an implementation that writes to memory (System.IO.MemoryStream).

AFAIK an ABL stream can't do so (except with a RAM disk).

That would certainly affect performance for a messaging adapter.

Posted by OctavioOlguin on 24-Feb-2017 19:40

How did you do?

How was it?

Did you make it?

This thread is closed