Interface DaveProtocolCallbacks
public interface DaveProtocolCallbacks
Interface used to send messages to the voice gateway to facilitate a
DaveSession.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendDaveProtocolReadyForTransition(int transitionId) SendDAVE_PROTOCOL_READY_FOR_TRANSITION(opcode23).voidsendMLSCommitWelcome(ByteBuffer commitWelcomeMessage) SendMLS_COMMIT_WELCOME(opcode28).voidsendMLSInvalidCommitWelcome(int transitionId) SendMLS_INVALID_COMMIT_WELCOME(opcode31).voidsendMLSKeyPackage(ByteBuffer mlsKeyPackage) SendMLS_KEY_PACKAGE(opcode26).
-
Method Details
-
sendMLSKeyPackage
SendMLS_KEY_PACKAGE(opcode26).- Parameters:
mlsKeyPackage- The key package messages as binary representation- See Also:
-
sendDaveProtocolReadyForTransition
void sendDaveProtocolReadyForTransition(int transitionId) SendDAVE_PROTOCOL_READY_FOR_TRANSITION(opcode23).This is used to signal to the rest of the MLS group that a transition to a new protocol version is prepared. Usually in response to
DaveSession.onDaveProtocolPrepareTransition(int, int),DaveSession.onMLSPrepareCommitTransition(int, ByteBuffer), orDaveSession.onMLSWelcome(int, ByteBuffer).- Parameters:
transitionId- The transition id that is prepared- See Also:
-
sendMLSCommitWelcome
SendMLS_COMMIT_WELCOME(opcode28).- Parameters:
commitWelcomeMessage- The binary representation for Commit and Welcome message- See Also:
-
sendMLSInvalidCommitWelcome
void sendMLSInvalidCommitWelcome(int transitionId) SendMLS_INVALID_COMMIT_WELCOME(opcode31).This message asks the voice gateway to remove and re-add a member to an MLS group so the member can recover from receiving an unprocessable Commit or Welcome.
- Parameters:
transitionId- The transition id in which the invalid Commit or Welcome was received- See Also:
-