Package org.hxzon.netprotocol.field

Examples of org.hxzon.netprotocol.field.ProtocolInt31Field


        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

        return _reserved1;
    }

    public ProtocolInt31Field fetchReserved2() {
        if (_reserved2 == null) {
            _reserved2 = new ProtocolInt31Field("reserved2", "保留2", 6, 2, true, this);
        }
        return _reserved2;
    }
View Full Code Here

        return _ptpVersion;
    }

    public ProtocolInt31Field fetchMessageLength() {
        if (_messageLength == null) {
            _messageLength = new ProtocolInt31Field("messageLength", "报文长度", 2, 2, true, this);
        }
        return _messageLength;
    }
View Full Code Here

        return _messageLength;
    }

    public ProtocolInt31Field fetchDomainNumber() {
        if (_domainNumber == null) {
            _domainNumber = new ProtocolInt31Field("domainNumber", "时间域编号", 4, 1, true, this);
        }
        return _domainNumber;
    }
View Full Code Here

        return _domainNumber;
    }

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

        return sb.toString();
    }

    public ProtocolInt31Field fetchFlags() {
        if (_flags == null) {
            _flags = new ProtocolInt31Field("flags", "标志", 6, 2, true, this) {
                public String getValueAsString() {
                    return flagsDescription(getValue());
                }
            };
        }
View Full Code Here

        return _correctionField;
    }

    public ProtocolInt31Field fetchReserved2() {
        if (_reserved1 == null) {
            _reserved1 = new ProtocolInt31Field("reserved2", "保留2", 16, 4, true, this);
        }
        return _reserved2;
    }
View Full Code Here

    }

    //for compatibility with hardware designed to conform to version 1 of this standard
    public ProtocolInt31Field fetchControl() {
        if (_control == null) {
            _control = new ProtocolInt31Field("control", "控制", 32, 1, true, this) {
                public String getValueAsString() {
                    return PtpPacket.controlDescription(getValue());
                }
            };
        }
View Full Code Here

        return _control;
    }

    public ProtocolInt31Field fetchLogMessageInterval() {
        if (_logMessageInterval == null) {
            _logMessageInterval = new ProtocolInt31Field("logMessageInterval", "日志消息间隔", 33, 1, true, this);
        }
        return _logMessageInterval;
    }
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.