org.littleshoot.stun.stack.message
Interface StunMessageVisitorFactory<T>

Type Parameters:
T - The type visitors return.

public interface StunMessageVisitorFactory<T>

Factory for creating STUN message visitors. Implementing classes might include a factory for the server and a factory for the client, for example.


Method Summary
 StunMessageVisitor<T> createVisitor(org.littleshoot.mina.common.IoSession session)
          Creates a new visitor.
 

Method Detail

createVisitor

StunMessageVisitor<T> createVisitor(org.littleshoot.mina.common.IoSession session)
Creates a new visitor.

Parameters:
session - The IoSession for reading or writing any necessary data.
Returns:
The new visitor.


Copyright © 2013 LittleShoot. All Rights Reserved.