org.jboss.messaging.core.remoting.impl
Class PacketDispatcherImpl
java.lang.Object
org.jboss.messaging.core.remoting.impl.PacketDispatcherImpl
- All Implemented Interfaces:
- PacketDispatcher
public class PacketDispatcherImpl
- extends java.lang.Object
- implements PacketDispatcher
- Version:
- $Revision$
- Author:
- Jeff Mesnil, Tim Fox.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final Logger log
filters
public final java.util.List<Interceptor> filters
PacketDispatcherImpl
public PacketDispatcherImpl(java.util.List<Interceptor> filters)
generateID
public long generateID()
- Specified by:
generateID
in interface PacketDispatcher
register
public void register(PacketHandler handler)
- Specified by:
register
in interface PacketDispatcher
unregister
public void unregister(long handlerID)
- Specified by:
unregister
in interface PacketDispatcher
setListener
public void setListener(PacketHandlerRegistrationListener listener)
- Specified by:
setListener
in interface PacketDispatcher
getHandler
public PacketHandler getHandler(long handlerID)
dispatch
public void dispatch(Packet packet,
PacketReturner sender)
throws java.lang.Exception
- Specified by:
dispatch
in interface PacketDispatcher
- Throws:
java.lang.Exception
callFilters
public void callFilters(Packet packet)
throws java.lang.Exception
- Call filters on a package
- Specified by:
callFilters
in interface PacketDispatcher
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.