package com.its.vms.xnettcp.vms.process;

import com.its.vms.entity.TbVmsCtlr;
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 TbVmsCtlr obj;
    private ChannelHandlerContext ctx;
    private Object data;

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