All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.weicoder.socket.annotation.Handler Maven / Gradle / Ivy

The newest version!
package com.weicoder.socket.annotation;

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

/**
 * 标明是socket的Handler
 * @author WD
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Handler {
	/**
	 * 名称 对应socket的名 一般为 server client
	 * @return 返回值
	 */
	String value() default "server";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy