-
- All Implemented Interfaces:
-
java.io.Serializable
public class StunResponseEvent extends StunMessageEvent
-
-
Constructor Summary
Constructors Constructor Description StunResponseEvent(StunStack stunStack, RawMessage rawMessage, Response response, Request request, TransactionID transactionID)Creates a new instance of this event.
-
Method Summary
Modifier and Type Method Description RequestgetRequest()Returns the Request that started the transaction that this Response has just arrived in. ResponsegetResponse()Returns the Response that has just arrived and that caused this event. -
Methods inherited from class org.ice4j.StunMessageEvent
getLocalAddress, getRawMessage, getRemoteAddress, toString -
Methods inherited from class org.ice4j.BaseStunMessageEvent
getMessage, getStunStack, getTransactionID -
Methods inherited from class java.util.EventObject
getSource, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StunResponseEvent
StunResponseEvent(StunStack stunStack, RawMessage rawMessage, Response response, Request request, TransactionID transactionID)
Creates a new instance of this event.- Parameters:
stunStack- the StunStack to be associated with the new instancerawMessage- the crude message we got off the wire.response- the STUN Response that we've just received.request- the message itselftransactionID- a reference to the exact TransactionID instance that represents the corresponding client transaction.
-
-
Method Detail
-
getRequest
Request getRequest()
-
getResponse
Response getResponse()
Returns the Response that has just arrived and that caused this event.
-
-
-
-