UdpProxyConnection

Identified UDP proxy connection between the proxy and a player.

Functions

Link copied to clipboard
abstract fun disconnect()
Link copied to clipboard
@NotNull
abstract fun getPlayer(): @NotNull VoiceProxyPlayer
Gets the player associated with this proxy connection.
Link copied to clipboard
@NotNull
open fun getProxySecret(): @NotNull UUID
Gets the proxy secret associated with this proxy connection.
Link copied to clipboard
abstract fun getRemoteAddress(): @NotNull InetSocketAddress
Link copied to clipboard
@NotNull
abstract fun getRemoteSecret(): @NotNull UUID
Gets the remote secret associated with this proxy connection.
Link copied to clipboard
Gets the remote server associated with this proxy connection.
Link copied to clipboard
abstract fun getSecret(): @NotNull UUID
Link copied to clipboard
Link copied to clipboard
abstract fun isConnected(): Boolean
Link copied to clipboard
abstract fun sendPacket(p: Packet<out Any>)
Link copied to clipboard
abstract fun setRemoteAddress(p: @NotNull InetSocketAddress)
Link copied to clipboard
abstract fun setRemoteSecret(@NotNull remoteSecret: @NotNull UUID)
Sets the remote secret associated with this proxy connection.
Link copied to clipboard
abstract fun setRemoteServer(@NotNull remoteServer: @NotNull RemoteServer)
Sets the remote server associated with this proxy connection.