|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The return type of the event methods.public interface StunTransactionListener<T>
Interface for classes wishing to listen for STUN transtaction events.
| Method Summary | |
|---|---|
T |
onTransactionFailed(StunMessage request,
StunMessage response)
Called when the transaction failed with an error response, a timeout, or for any other reason. |
T |
onTransactionSucceeded(StunMessage message,
StunMessage response)
Called when the transaction completed normally with a successful binding response. |
| Method Detail |
|---|
T onTransactionSucceeded(StunMessage message,
StunMessage response)
message - The binding request.response - The binding response.
T onTransactionFailed(StunMessage request,
StunMessage response)
request - The original request.response - The binding response.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||