-
- All Implemented Interfaces:
-
java.io.Serializable
public class StunTimeoutEvent extends BaseStunMessageEvent
The class is used to dispatch events that occur when a STUN transaction expires.
-
-
Constructor Summary
Constructors Constructor Description StunTimeoutEvent(StunStack stunStack, Message message, TransportAddress localAddress, TransactionID transactionID)Constructs a StunTimeoutEvent according to the specified message.
-
Method Summary
Modifier and Type Method Description TransportAddressgetLocalAddress()Returns the TransportAddress that the message was supposed to leave from. StringtoString()Returns a String representation of this event, containing the corresponding message, and local address. -
Methods inherited from class org.ice4j.BaseStunMessageEvent
getMessage, getStunStack, getTransactionID -
Methods inherited from class java.util.EventObject
getSource -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StunTimeoutEvent
StunTimeoutEvent(StunStack stunStack, Message message, TransportAddress localAddress, TransactionID transactionID)
Constructs a StunTimeoutEvent according to the specified message.- Parameters:
stunStack- the StunStack to be associated with the new instancemessage- the message itselflocalAddress- the local address that the message was sent from.transactionID- the ID of the associated with this event.
-
-
Method Detail
-
getLocalAddress
TransportAddress getLocalAddress()
Returns the TransportAddress that the message was supposed to leave from.
-
-
-
-