Package org.rspeer.event
Class Subscription
- java.lang.Object
- 
- org.rspeer.event.Subscription
 
- 
 public class Subscription extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Subscription(Class<?> type, Object reference, Method address, boolean async)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelegate(Event event)voiddelegate(Event event, Consumer<Throwable> handler)booleanequals(Object obj)MethodgetAddress()<T extends Annotation>
 TgetParameterAnnotation(Class<? extends Annotation> annotation)ObjectgetReference()Class<?>getType()booleanisAsync()booleanisParameterAnnotationPresent(Class<? extends Annotation> annotation)
 
- 
- 
- 
Method Detail- 
delegatepublic void delegate(Event event) 
 - 
isParameterAnnotationPresentpublic boolean isParameterAnnotationPresent(Class<? extends Annotation> annotation) 
 - 
getParameterAnnotationpublic <T extends Annotation> T getParameterAnnotation(Class<? extends Annotation> annotation) 
 - 
getTypepublic Class<?> getType() 
 - 
getReferencepublic Object getReference() 
 - 
getAddresspublic Method getAddress() 
 - 
isAsyncpublic boolean isAsync() 
 
- 
 
-