public interface RequestListener
Modifier and Type | Method and Description |
---|---|
void |
processRequest(StunMessageEvent evt)
Called when delivering incoming STUN requests.
|
void processRequest(StunMessageEvent evt) throws IllegalArgumentException
IllegalArgumentException
from within this method would cause the
stack to reply with a 400 Bad Request Response
using
the exception's message as a reason phrase for the error response. Any
other exception would result in a 500 Server Error Response
.evt
- the event containing the incoming STUN request.IllegalArgumentException
- if evt contains a malformed
Request
and the stack would need to response with a
400 Bad Request Response
.Copyright © 2018. All rights reserved.