org.lastbamboo.common.stun.client
Class StunClientMessageVisitorFactory<T>

java.lang.Object
  extended by org.lastbamboo.common.stun.client.StunClientMessageVisitorFactory<T>
Type Parameters:
T - The type created visitors return.
All Implemented Interfaces:
org.littleshoot.stun.stack.message.StunMessageVisitorFactory<T>

public class StunClientMessageVisitorFactory<T>
extends Object
implements org.littleshoot.stun.stack.message.StunMessageVisitorFactory<T>

Factory for creating STUN client message visitors.


Constructor Summary
StunClientMessageVisitorFactory(org.littleshoot.stun.stack.transaction.StunTransactionTracker<T> transactionTracker)
          Creates a new message visitor factory for STUN clients.
 
Method Summary
 org.littleshoot.stun.stack.message.StunMessageVisitor<T> createVisitor(org.littleshoot.mina.common.IoSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StunClientMessageVisitorFactory

public StunClientMessageVisitorFactory(org.littleshoot.stun.stack.transaction.StunTransactionTracker<T> transactionTracker)
Creates a new message visitor factory for STUN clients.

Parameters:
transactionTracker - The class that keeps track of STUN transactions.
Method Detail

createVisitor

public org.littleshoot.stun.stack.message.StunMessageVisitor<T> createVisitor(org.littleshoot.mina.common.IoSession session)
Specified by:
createVisitor in interface org.littleshoot.stun.stack.message.StunMessageVisitorFactory<T>


Copyright © 2013 LittleShoot. All Rights Reserved.