Class MediaGatewayV4Connection
java.lang.Object
moe.kyokobot.koe.internal.gateway.AbstractMediaGatewayConnection
moe.kyokobot.koe.internal.gateway.MediaGatewayV4Connection
- All Implemented Interfaces:
MediaGatewayConnection
-
Field Summary
Fields inherited from class moe.kyokobot.koe.internal.gateway.AbstractMediaGatewayConnection
allocator, bootstrap, channel, connectAttempt, connectFuture, connection, eventExecutor, resumable, sslContext, voiceServerInfo, websocketURI -
Constructor Summary
ConstructorsConstructorDescriptionMediaGatewayV4Connection(MediaConnectionImpl connection, VoiceServerInfo voiceServerInfo) -
Method Summary
Modifier and TypeMethodDescriptionlonggetPing()protected voidhandlePayload(io.netty.buffer.ByteBuf byteBuf) protected voidhandlePayload(JsonObject object) protected voididentify()protected voidprotected voidresume()voidupdateSpeaking(int mask) Methods inherited from class moe.kyokobot.koe.internal.gateway.AbstractMediaGatewayConnection
close, getValve, isOpen, reconnect, sendInternalBinPayload, sendInternalPayload, sendRaw, sendRawBin, start, stripPort80Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface moe.kyokobot.koe.gateway.MediaGatewayConnection
sendMLSCommitWelcome, sendMLSInvalidCommitWelcome, sendMLSKeyPackage, sendSecureFramesReadyForTransition
-
Constructor Details
-
MediaGatewayV4Connection
-
-
Method Details
-
identify
protected void identify()- Specified by:
identifyin classAbstractMediaGatewayConnection
-
resume
protected void resume()- Specified by:
resumein classAbstractMediaGatewayConnection
-
handlePayload
- Specified by:
handlePayloadin classAbstractMediaGatewayConnection
-
handlePayload
protected void handlePayload(io.netty.buffer.ByteBuf byteBuf) - Specified by:
handlePayloadin classAbstractMediaGatewayConnection
-
onClose
- Overrides:
onClosein classAbstractMediaGatewayConnection
-
getPing
public long getPing() -
updateSpeaking
public void updateSpeaking(int mask) - Specified by:
updateSpeakingin interfaceMediaGatewayConnection- Specified by:
updateSpeakingin classAbstractMediaGatewayConnection
-