package com.sien.common.tillo.app_ws.annotation;


import com.sien.common.tillo.app_ws.enums.WsRequestCmdEnum;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description netty 接收类型注解，用于策略模式
 * @Author hewei hwei1233@163.com
 * @Date 2020-01-02
 */
@Retention(RetentionPolicy.RUNTIME)//RUNTIME运行时保留
@Target(ElementType.TYPE) //type描述类、接口
@Documented
public @interface ReceiveTypeAnnotation {

    WsRequestCmdEnum type();
}
