Package moe.kyokobot.koe.internal
Class KoeClientImpl
java.lang.Object
moe.kyokobot.koe.internal.KoeClientImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,KoeClientExperimental,KoeClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()@NotNull MediaConnectionExperimentalcreateConnection(long guildId) voiddestroyConnection(long guildId) long@Nullable MediaConnectionExperimentalgetConnection(long guildId) @NotNull Map<Long,MediaConnection> @Nullable moe.kyokobot.libdave.netty.NettyDaveFactory@NotNull GatewayVersion@NotNull KoeOptionsnewVoiceConnection(long id)
-
Constructor Details
-
KoeClientImpl
-
-
Method Details
-
createConnection
- Specified by:
createConnectionin interfaceKoeClient- Specified by:
createConnectionin interfaceKoeClientExperimental
-
getConnection
- Specified by:
getConnectionin interfaceKoeClient- Specified by:
getConnectionin interfaceKoeClientExperimental
-
destroyConnection
public void destroyConnection(long guildId) - Specified by:
destroyConnectionin interfaceKoeClient
-
getConnections
- Specified by:
getConnectionsin interfaceKoeClient
-
close
public void close() -
newVoiceConnection
-
getDaveFactory
@Nullable public @Nullable moe.kyokobot.libdave.netty.NettyDaveFactory getDaveFactory() -
getClientId
public long getClientId()- Specified by:
getClientIdin interfaceKoeClient
-
getOptions
- Specified by:
getOptionsin interfaceKoeClient
-
getGatewayVersion
- Specified by:
getGatewayVersionin interfaceKoeClient
-