mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
Kryo registration of Observable with explicit ID.
This commit is contained in:
parent
b4288cf9dc
commit
f6f896d072
@ -229,7 +229,8 @@ private class RPCKryo(observableSerializer: Serializer<Observable<Any>>? = null)
|
||||
})
|
||||
}
|
||||
|
||||
val observableRegistration: Registration? = if (observableSerializer != null) register(Observable::class.java, observableSerializer) else null
|
||||
// TODO: workaround to prevent Observable registration conflict when using plugin registered kyro classes
|
||||
val observableRegistration: Registration? = if (observableSerializer != null) register(Observable::class.java, observableSerializer, 10000) else null
|
||||
|
||||
override fun getRegistration(type: Class<*>): Registration {
|
||||
if (Observable::class.java.isAssignableFrom(type))
|
||||
|
Loading…
x
Reference in New Issue
Block a user