Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
API
Commits
99bfac27
Commit
99bfac27
authored
Oct 19, 2016
by
Björn Richerzhagen
Browse files
Default Interface for SubscriptionInfo
parent
06b74a80
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/component/pubsub/analyzer/SubscriptionInfo.java
View file @
99bfac27
...
...
@@ -22,12 +22,35 @@ package de.tudarmstadt.maki.simonstrator.api.component.pubsub.analyzer;
/**
* An object that can be attached to a subscription by an application to enable
* easier analyzing in simulation mode.
* easier analyzing in simulation mode. This object is NOT transmitted to
* brokers.
*
* @author Bjoern Richerzhagen
*
*/
public
interface
SubscriptionInfo
{
/**
* True, if this subscription is active on the client
*
* @return
*/
public
boolean
isActive
();
/**
* host-ID of the originator of this subscription
*
* @return
*/
public
long
getOriginatorHostId
();
/**
* Time this subscription was created (!) by the overlay. If it is not
* immediately published by the app, this can not be used to calculate
* delays.
*
* @return
*/
public
long
getTimestampOfCreation
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment