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

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class TcpServerRecvDataTask {

    @Async("workDataExecutor")
    public void run(TcpServerRecvDataProcess serverDataProcess, TcpServerRecvData serverData) {

        serverDataProcess.process(serverData);
    }

}
