Class ReplicationSubscription
- java.lang.Object
-
- jadex.micro.examples.messagequeue.replicated.ReplicationSubscription
-
public class ReplicationSubscription extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReplicationSubscription(IMessageQueueReplicationService service, ISubscriptionIntermediateFuture<Event> subscription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMessageQueueReplicationService
getService()
ISubscriptionIntermediateFuture<Event>
getSubscription()
void
setService(IMessageQueueReplicationService service)
void
setSubscription(ISubscriptionIntermediateFuture<Event> subscription)
java.lang.String
toString()
Get the string representation.
-
-
-
Constructor Detail
-
ReplicationSubscription
public ReplicationSubscription(IMessageQueueReplicationService service, ISubscriptionIntermediateFuture<Event> subscription)
- Parameters:
service
-subscription
-
-
-
Method Detail
-
getService
public IMessageQueueReplicationService getService()
- Returns:
- the service
-
setService
public void setService(IMessageQueueReplicationService service)
- Parameters:
service
- the service to set
-
getSubscription
public ISubscriptionIntermediateFuture<Event> getSubscription()
- Returns:
- the subscription
-
setSubscription
public void setSubscription(ISubscriptionIntermediateFuture<Event> subscription)
- Parameters:
subscription
- the subscription to set
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
-
-