Added initialize state for endpoints
This commit is contained in:
parent
d8455e1faf
commit
b42b456daf
@ -434,6 +434,7 @@ open class Client<CONNECTION : Connection>(
|
||||
// we are done with initial configuration, now initialize aeron and the general state of this endpoint
|
||||
try {
|
||||
startDriver()
|
||||
initializeState()
|
||||
} catch (e: Exception) {
|
||||
logger.error(e) { "Unable to start the network driver" }
|
||||
return
|
||||
|
@ -231,6 +231,7 @@ open class Server<CONNECTION : Connection>(
|
||||
|
||||
try {
|
||||
startDriver()
|
||||
initializeState()
|
||||
} catch (e: Exception) {
|
||||
logger.error(e) { "Unable to start the network driver" }
|
||||
return@runBlocking
|
||||
|
@ -249,9 +249,6 @@ internal constructor(val type: Class<*>,
|
||||
private val pingManager = PingManager<CONNECTION>()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
init {
|
||||
require(EventDispatcher.isActive) { "The Event Dispatch is no longer active. It has been shutdown" }
|
||||
require(messageDispatch.isActive) { "The Message Dispatch is no longer active. It has been shutdown" }
|
||||
|
Loading…
Reference in New Issue
Block a user