org.littleshoot.stun.stack.message
Interface VisitableStunMessage

All Known Subinterfaces:
StunMessage
All Known Implementing Classes:
AbstractStunDataMessage, AbstractStunMessage, AllocateErrorResponse, AllocateRequest, AllocateSuccessResponse, BindingErrorResponse, BindingRequest, BindingSuccessResponse, CanceledStunMessage, ConnectErrorStunMessage, ConnectionStatusIndication, ConnectRequest, DataIndication, NullStunMessage, SendIndication

public interface VisitableStunMessage

Interface for STUN messages that are visitable by visitors.


Method Summary
<T> T
accept(StunMessageVisitor<T> visitor)
          Accepts the specified visitor class.
 

Method Detail

accept

<T> T accept(StunMessageVisitor<T> visitor)
Accepts the specified visitor class.

Type Parameters:
T - The type the visitor will return.
Parameters:
visitor - The visitor to accept.
Returns:
The return value of the visitor.


Copyright © 2013 LittleShoot. All Rights Reserved.