org.lastbamboo.common.ice
Interface IceRoleChecker

All Known Implementing Classes:
IceRoleCheckerImpl

public interface IceRoleChecker

Class that checks ICE roles.


Method Summary
 org.littleshoot.stun.stack.message.BindingErrorResponse checkAndRepairRoles(org.littleshoot.stun.stack.message.BindingRequest request, IceAgent agent, org.littleshoot.mina.common.IoSession ioSession)
          Checks to make sure controlling roles are as expected for incoming requests and repairs them with a Binding Error Response if not.
 

Method Detail

checkAndRepairRoles

org.littleshoot.stun.stack.message.BindingErrorResponse checkAndRepairRoles(org.littleshoot.stun.stack.message.BindingRequest request,
                                                                            IceAgent agent,
                                                                            org.littleshoot.mina.common.IoSession ioSession)
Checks to make sure controlling roles are as expected for incoming requests and repairs them with a Binding Error Response if not.

Parameters:
request - The incoming Binding Request.
agent - The ICE agent.
ioSession - The session the request arrived on.
Returns:
A BindingErrorResponse, or null if no roles need repairing.


Copyright © 2013 LittleShoot. All Rights Reserved.