package com.its.dsrc.xnettcp.dsrc.process;

import com.its.dsrc.entity.TbRseCtlr;
import io.netty.channel.ChannelHandlerContext;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TcpServerData {
    public static final int DATA_TYPE_PACKET = 0;

    private int        type;
    private TbRseCtlr obj;
    private ChannelHandlerContext ctx;
    private Object     data;

    public TcpServerData(int type, TbRseCtlr obj, ChannelHandlerContext ctx, Object data) {
        this.type = type;
        this.obj  = obj;
        this.ctx  = ctx;
        this.data = data;
    }
}
