-
- All Implemented Interfaces:
public interface ResponseCollectorThe interface is used as a callback when sending a request. The response collector is then used as a means of dispatching the response.
-
-
Method Summary
Modifier and Type Method Description abstract voidprocessResponse(StunResponseEvent event)Dispatch the specified response. abstract voidprocessTimeout(StunTimeoutEvent event)Notifies this collector that no response had been received after repeated retransmissions of the original request (as described by rfc3489) and that the request should be considered unanswered. -
-
Method Detail
-
processResponse
abstract void processResponse(StunResponseEvent event)
Dispatch the specified response.
- Parameters:
event- the response to dispatch.
-
processTimeout
abstract void processTimeout(StunTimeoutEvent event)
Notifies this collector that no response had been received after repeated retransmissions of the original request (as described by rfc3489) and that the request should be considered unanswered.
- Parameters:
event- the StunTimeoutEvent containing a reference to the transaction that has just failed.
-
-
-
-