public static class RegistrySynchronizationService.SubscriptionInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IComponentIdentifier |
platformid
The component identifier of the platform.
|
protected jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> |
subscription
The subscription.
|
protected long |
timestamp
The timestamp of the last received message.
|
Constructor and Description |
---|
SubscriptionInfo(jadex.bridge.IComponentIdentifier platformid,
jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> subscription)
Create a new RegistrySynchronizationService.
|
Modifier and Type | Method and Description |
---|---|
jadex.bridge.IComponentIdentifier |
getPlatformId()
Get the platformId.
|
jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> |
getSubscription()
Get the subscription.
|
long |
getTimestamp()
Get the timestamp.
|
void |
setPlatformId(jadex.bridge.IComponentIdentifier platformId)
Set the platformId.
|
void |
setSubscription(jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> subscription)
Set the subscription.
|
void |
setTimestamp(long timestamp)
Set the timestamp.
|
protected jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> subscription
protected jadex.bridge.IComponentIdentifier platformid
protected long timestamp
public SubscriptionInfo(jadex.bridge.IComponentIdentifier platformid, jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> subscription)
public jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> getSubscription()
public void setSubscription(jadex.commons.future.ISubscriptionIntermediateFuture<jadex.bridge.service.types.registry.IRegistryEvent> subscription)
subscription
- The subscription to setpublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp
- The timestamp to setpublic jadex.bridge.IComponentIdentifier getPlatformId()
public void setPlatformId(jadex.bridge.IComponentIdentifier platformId)
platformId
- The platformId to set