| | |
| | | |
| | | private Integer status ; |
| | | private Integer dataLen ; |
| | | public String protocolName; |
| | | public Short protocolVersion; |
| | | |
| | | public PrefixedDataAvailableStatus(){ |
| | | status = null ; |
| | |
| | | * @return 状态 |
| | | */ |
| | | @SuppressWarnings("unused") |
| | | public PrefixedDataAvailableStatus adjoined(Integer dataLen){ |
| | | public PrefixedDataAvailableStatus adjoined(Integer dataLen, String protocolName, Short protocolVersion){ |
| | | this.status = status_adjoin ; |
| | | this.dataLen = dataLen ; |
| | | this.protocolName = protocolName ; |
| | | this.protocolVersion = protocolVersion ; |
| | | return this ; |
| | | } |
| | | |
| | |
| | | * @return 状态 |
| | | */ |
| | | @SuppressWarnings("unused") |
| | | public PrefixedDataAvailableStatus completed(Integer dataLen){ |
| | | public PrefixedDataAvailableStatus completed(Integer dataLen, String protocolName, Short protocolVersion){ |
| | | this.status = status_complete ; |
| | | this.dataLen = dataLen ; |
| | | this.protocolName = protocolName ; |
| | | this.protocolVersion = protocolVersion ; |
| | | return this ; |
| | | } |
| | | |