com.alibaba.rocketmq.common.protocol.header.ViewMessageRequestHeader Maven / Gradle / Ivy
/**
* $Id: ViewMessageRequestHeader.java 1835 2013-05-16 02:00:50Z shijia.wxr $
*/
package com.alibaba.rocketmq.common.protocol.header;
import com.alibaba.rocketmq.remoting.CommandCustomHeader;
import com.alibaba.rocketmq.remoting.annotation.CFNotNull;
import com.alibaba.rocketmq.remoting.exception.RemotingCommandException;
/**
* @author shijia.wxr
*/
public class ViewMessageRequestHeader implements CommandCustomHeader {
@CFNotNull
private Long offset;
@Override
public void checkFields() throws RemotingCommandException {
}
public Long getOffset() {
return offset;
}
public void setOffset(Long offset) {
this.offset = offset;
}
}