TOC PREV NEXT INDEX


Reuse of Java Decoding Objects



Java objects can be reused for decoding PER messages in the same way they were for BER messages. The decode buffer and message type objects are created outside of the main decoding loop. Then in the main loop these objects are reused to process each input message. Data must be saved from the message type object after each iteration because the contents of the object will be overwritten on each consecutive loop iteration. Nothing special needs to be done at the bottom of the loop to ready the decoder for the next message. All necessary initialization will be handled internally.


Objective Systems, Inc.

102 Pickering Way, Suite #506
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com
TOC PREV NEXT INDEX