mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
ProtocolAPI: Initialise RPCHandler after other members (#1722)
This commit is contained in:
@@ -8,11 +8,10 @@ import solarxr_protocol.MessageBundle
|
||||
import java.nio.ByteBuffer
|
||||
|
||||
class ProtocolAPI(val server: VRServer) {
|
||||
val rpcHandler: RPCHandler = RPCHandler(this)
|
||||
val apiServers: MutableList<ProtocolAPIServer> = ArrayList()
|
||||
val dataFeedHandler: DataFeedHandler = DataFeedHandler(this)
|
||||
val pubSubHandler: PubSubHandler = PubSubHandler(this)
|
||||
|
||||
val apiServers: MutableList<ProtocolAPIServer> = ArrayList()
|
||||
val rpcHandler: RPCHandler = RPCHandler(this)
|
||||
|
||||
fun onMessage(conn: GenericConnection, message: ByteBuffer) {
|
||||
val messageBundle = MessageBundle.getRootAsMessageBundle(message)
|
||||
|
||||
Reference in New Issue
Block a user