bt.module.ExtendedMessageHandlers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bt-core Show documentation
Show all versions of bt-core Show documentation
BitTorrent Client Library (Core)
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 extended protocol message types.
*
* Each message type is assigned a unique name,
* thus annotated value should be a
* {@link java.util.Map}<{@link String}, {@link bt.protocol.handler.MessageHandler}<{@code ? extends}
* {@link bt.protocol.extended.ExtendedMessage}>>
.
*
* @since 1.0
*/
@Target({ ElementType.PARAMETER, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@BindingAnnotation
public @interface ExtendedMessageHandlers {}