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

bt.module.MessageHandlers Maven / Gradle / Ivy

There is a newer version: 1.10
Show newest version
package bt.module;

import com.google.inject.BindingAnnotation;

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

/**
 * Annotates individual message handlers,
 * that work with core BitTorrent message types.
 *
 * 

Each message type is assigned a unique numeric ID, * thus annotated value should be a * {@link java.util.Map}<{@link Integer}, {@link bt.protocol.handler.MessageHandler}>. * * @since 1.0 */ @Target({ ElementType.PARAMETER, ElementType.FIELD }) @Retention(RetentionPolicy.RUNTIME) @BindingAnnotation public @interface MessageHandlers {}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy