Package org.hxzon.netprotocol.field

Examples of org.hxzon.netprotocol.field.ProtocolInt31Field


        return _management_action;
    }

    public ProtocolInt31Field fetchManagementReserved2() {
        if (_management_reserved2 == null) {
            _management_reserved2 = new ProtocolInt31Field("reserved2", "reserved2", 47, 1, true, this);
        }
        return _management_reserved2;
    }
View Full Code Here


        return _version;
    }

    public ProtocolInt31Field fetchTotalLen() {
        if (_totalLen == null) {
            _totalLen = new ProtocolInt31Field("total len", "总长度", 2, 2, true, this);
        }
        return _totalLen;
    }
View Full Code Here

    }

    public ProtocolInt31Field fetchDifferentiatedServices() {
        if (_differentiatedServices == null) {
//      differentiatedServices = new ProtocolBitField("tos", 1, 0, 8, this);
            _differentiatedServices = new ProtocolInt31Field("tos", "差别服务", 1, 1, true, this);
        }
        return _differentiatedServices;
    }
View Full Code Here

        return _differentiatedServices;
    }

    public ProtocolInt31Field fetchIdentification() {
        if (_identification == null) {
            _identification = new ProtocolInt31Field("identification", "标识", 4, 2, true, this);
        }
        return _identification;
    }
View Full Code Here

        return _fragmentOffset;
    }

    public ProtocolInt31Field fetchTtl() {
        if (_ttl == null) {
            _ttl = new ProtocolInt31Field("ttl", "生存时间", 8, 1, true, this);
        }
        return _ttl;
    }
View Full Code Here

        return _ttl;
    }

    public ProtocolInt31Field fetchProtocolCode() {
        if (_protocolCode == null) {
            _protocolCode = new ProtocolInt31Field("protocol", "协议类型", 9, 1, true, this);
        }
        return _protocolCode;
    }
View Full Code Here

        return _protocolCode;
    }

    public ProtocolInt31Field fetchChecksum() {
        if (_checksum == null) {
            _checksum = new ProtocolInt31Field("protocol", "校验和", 10, 2, true, this);
        }
        return _checksum;
    }
View Full Code Here

        return new ProtocolField[] { fetchAppId(), fetchPduLen(), fetchReserved1(), fetchReserved2() };
    }

    public ProtocolInt31Field fetchAppId() {
        if (_appId == null) {
            _appId = new ProtocolInt31Field("appId", "应用标识", 0, 2, true, this);
        }
        return _appId;
    }
View Full Code Here

        return _appId;
    }

    public ProtocolInt31Field fetchPduLen() {
        if (_pduLen == null) {
            _pduLen = new ProtocolInt31Field("pduLen", "PDU长度", 2, 2, true, this);
        }
        return _pduLen;
    }
View Full Code Here

        return _pduLen;
    }

    public ProtocolInt31Field fetchReserved1() {
        if (_reserved1 == null) {
            _reserved1 = new ProtocolInt31Field("reserved1", "保留1", 4, 2, true, this);
        }
        return _reserved1;
    }
View Full Code Here

TOP

Related Classes of org.hxzon.netprotocol.field.ProtocolInt31Field

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.