Added MessgeBus.getVersion()
This commit is contained in:
parent
d230347584
commit
4db2e1f08d
|
@ -132,7 +132,7 @@ The MessageBus is available from the Maven Central Repository using the followin
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.dorkbox</groupId>
|
<groupId>com.dorkbox</groupId>
|
||||||
<artifactId>MessageBus</artifactId>
|
<artifactId>MessageBus</artifactId>
|
||||||
<version>1.4</version>
|
<version>1.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -146,3 +146,5 @@ This project is distributed under the terms of the Apache v2.0 License. See file
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -102,6 +102,14 @@ class MessageBus implements IMessageBus {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the version number.
|
||||||
|
*/
|
||||||
|
public static
|
||||||
|
String getVersion() {
|
||||||
|
return "1.7";
|
||||||
|
}
|
||||||
|
|
||||||
private final ErrorHandler errorHandler;
|
private final ErrorHandler errorHandler;
|
||||||
|
|
||||||
private final SubscriptionManager subscriptionManager;
|
private final SubscriptionManager subscriptionManager;
|
||||||
|
@ -346,3 +354,5 @@ class MessageBus implements IMessageBus {
|
||||||
this.subscriptionManager.shutdown();
|
this.subscriptionManager.shutdown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user