Package org.hxzon.netprotocol.field

Examples of org.hxzon.netprotocol.field.ProtocolInt31Field


        return _sourcePort;
    }

    public ProtocolInt31Field fetchDestPort() {
        if (_destPort == null) {
            _destPort = new ProtocolInt31Field("destPort", "目的端口", 2, 2, true, this);
        }
        return _destPort;
    }
View Full Code Here


        return sb.toString();
    }

    public ProtocolInt31Field fetchWindowSize() {
        if (_windowSize == null) {
            _windowSize = new ProtocolInt31Field("window size", "窗口大小", 14, 2, true, this);
        }
        return _windowSize;
    }
View Full Code Here

        return _windowSize;
    }

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

        return _checksum;
    }

    public ProtocolInt31Field fetchUrgentPointer() {
        if (_urgentPointer == null) {
            _urgentPointer = new ProtocolInt31Field("urgent pointer", "紧急指针", 18, 2, true, this);
        }
        return _urgentPointer;
    }
View Full Code Here

        return new ProtocolField[] { fetchSourcePort(), fetchDestPort(), fetchTotalLen(), fetchChecksum() };
    }

    public ProtocolInt31Field fetchSourcePort() {
        if (_sourcePort == null) {
            _sourcePort = new ProtocolInt31Field("sourcePort", "源端口", 0, 2, true, this);
        }
        return _sourcePort;
    }
View Full Code Here

        return _sourcePort;
    }

    public ProtocolInt31Field fetchDestPort() {
        if (_destPort == null) {
            _destPort = new ProtocolInt31Field("destPort", "目的端口", 2, 2, true, this);
        }
        return _destPort;
    }
View Full Code Here

        return _destPort;
    }

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

        return _totalLen;
    }

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

        return new ProtocolField[] { fetchPduLength(), fetchPduType(), fetchTpduNumber(), fetchIsLast() };
    }

    public ProtocolInt31Field fetchPduLength() {
        if (_length == null) {
            _length = new ProtocolInt31Field("pdu length", "PDU长度", 0, 1, true, this);
        }
        return _length;
    }
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

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.