Merge pull request 'Allow configurable ingress URI' (#14) from pandaninjas/e4mc_minecraft:main into main
Reviewed-on: #14
This commit is contained in:
commit
0fa970ba64
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ data class DomainAssignedMessage(val DomainAssigned: String)
|
||||||
data class ChannelOpenMessage(val ChannelOpen: List<Any>)
|
data class ChannelOpenMessage(val ChannelOpen: List<Any>)
|
||||||
data class ChannelClosedMessage(val ChannelClosed: Number)
|
data class ChannelClosedMessage(val ChannelClosed: Number)
|
||||||
|
|
||||||
class E4mcRelayHandler: WebSocketClient(URI("wss://ingress.e4mc.link")) {
|
class E4mcRelayHandler: WebSocketClient(URI(System.getProperty("vg.skye.e4mc_minecraft.ingress_uri", "wss://ingress.e4mc.link"))) {
|
||||||
private val gson = Gson()
|
private val gson = Gson()
|
||||||
private val childChannels = mutableMapOf<Int, LocalChannel>()
|
private val childChannels = mutableMapOf<Int, LocalChannel>()
|
||||||
private val messageQueue = mutableMapOf<Int, ArrayBlockingQueue<ByteBuffer>>()
|
private val messageQueue = mutableMapOf<Int, ArrayBlockingQueue<ByteBuffer>>()
|
||||||
|
|
Loading…
Reference in a new issue