Class SubscriptionCreated
java.lang.Object
de.otto.synapse.subscription.events.SubscriptionEvent
de.otto.synapse.subscription.events.SubscriptionCreated
public class SubscriptionCreated extends SubscriptionEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class de.otto.synapse.subscription.events.SubscriptionEvent
SubscriptionEvent.Type -
Constructor Summary
Constructors Constructor Description SubscriptionCreated(java.lang.String id, java.lang.String subscribedChannel, java.lang.String responseChannel) -
Method Summary
Modifier and Type Method Description SubscriptionCreatedasSubscriptionCreated()SubscriptionUpdatedasSubscriptionUpdated()java.lang.StringgetResponseChannel()java.lang.StringgetSubscribedChannel()java.lang.StringtoString()Methods inherited from class de.otto.synapse.subscription.events.SubscriptionEvent
getId, getTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
SubscriptionCreated
public SubscriptionCreated(java.lang.String id, java.lang.String subscribedChannel, java.lang.String responseChannel)
-
-
Method Details
-
asSubscriptionCreated
- Specified by:
asSubscriptionCreatedin classSubscriptionEvent
-
asSubscriptionUpdated
- Specified by:
asSubscriptionUpdatedin classSubscriptionEvent
-
getSubscribedChannel
public java.lang.String getSubscribedChannel() -
getResponseChannel
public java.lang.String getResponseChannel() -
toString
public java.lang.String toString()- Overrides:
toStringin classSubscriptionEvent
-