Rev

Rev 1822 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | Bug Tracker

Rev 1822 Rev 2655
Line 2... Line 2...
2
 * @author      ETSI / STF462 / Alexandre Berge
2
 * @author      ETSI / STF462 / Alexandre Berge
3
 * @version     $URL: file:///D:/RepositoriesNew/ITS/trunk/javasrc/codec/org/etsi/ttcn/codec/its/geonetworking/HeaderTST.java $
3
 * @version     $URL: file:///D:/RepositoriesNew/ITS/trunk/javasrc/codec/org/etsi/ttcn/codec/its/geonetworking/HeaderTST.java $
4
 *              $Id: HeaderTST.java 1822 2014-11-18 09:18:17Z berge $
4
 *              $Id: HeaderTST.java 2655 2017-01-26 10:46:08Z filatov $
5
 */
5
 */
6
package org.etsi.ttcn.codec.its.geonetworking;
6
package org.etsi.ttcn.codec.its.geonetworking;
7
7
8
import org.etsi.ttcn.codec.CodecBuffer;
8
import org.etsi.ttcn.codec.CodecBuffer;
9
import org.etsi.ttcn.codec.MainCodec;
9
import org.etsi.ttcn.codec.MainCodec;
Line 16... Line 16...
16
        super(mainCodec);
16
        super(mainCodec);
17
    }
17
    }
18
18
19
    @Override
19
    @Override
20
    protected void preDecode(CodecBuffer buf, Type decodingHypothesis) {
20
    protected void preDecode(CodecBuffer buf, Type decodingHypothesis) {
21
//        System.out.println(">>> HeaderTST.preDecode: " + decodingHypothesis);
21
//        TERFactory.getInstance().logDebug(">>> HeaderTST.preDecode: " + decodingHypothesis);
22
22
23
        int hdrType = 0x00FF & buf.getBits(0, 4)[0];
23
        int hdrType = 0x00FF & buf.getBits(0, 4)[0];
24
        String variant = "";
24
        String variant = "";
25
        String extHeader = "";
25
        String extHeader = "";
26
26