org.lastbamboo.common.ice
Interface IceStunChecker

All Known Implementing Classes:
AbstractIceStunChecker, IceUdpStunChecker

public interface IceStunChecker

Interface for classes that perform ICE connectivity checks using STUN.


Method Summary
 void cancelTransaction()
          Cancels the existing STUN transaction.
 void close()
          Close any connections associated with the checker.
 org.littleshoot.stun.stack.message.StunMessage write(org.littleshoot.stun.stack.message.BindingRequest request, long rto)
          Writes a STUN binding request with the RTO value used for retransmissions explicitly set.
 

Method Detail

write

org.littleshoot.stun.stack.message.StunMessage write(org.littleshoot.stun.stack.message.BindingRequest request,
                                                     long rto)
Writes a STUN binding request with the RTO value used for retransmissions explicitly set.

Parameters:
request - The STUN binding request.
rto - The value to use for RTO when calculating retransmission times. Note this only applies to UDP.
Returns:
The response message.

cancelTransaction

void cancelTransaction()
Cancels the existing STUN transaction. The behavior for this is described in ICE section 7.2.1.4. on triggered checks. From that section, cancellation:

"means that the agent will not retransmit the request, will not treat the lack of response to be a failure, but will wait the duration of the transaction timeout for a response."


close

void close()
Close any connections associated with the checker.



Copyright © 2013 LittleShoot. All Rights Reserved.