Package org.hornetq.core.protocol.core.impl

Examples of org.hornetq.core.protocol.core.impl.ChannelImpl



      public String getUsername(final Packet packet, final RemotingConnection connection)
      {
         RemotingConnectionImpl impl = (RemotingConnectionImpl)connection;
         ChannelImpl channel = (ChannelImpl) impl.getChannel(packet.getChannelID(), -1);
         ServerSessionPacketHandler sessionHandler = (ServerSessionPacketHandler) channel.getHandler();
         return sessionHandler.getSession().getUsername();
      }
View Full Code Here



      public String getUsername(final Packet packet, final RemotingConnection connection)
      {
         RemotingConnectionImpl impl = (RemotingConnectionImpl)connection;
         ChannelImpl channel = (ChannelImpl) impl.getChannel(packet.getChannelID(), -1);
         ServerSessionPacketHandler sessionHandler = (ServerSessionPacketHandler) channel.getHandler();
         return sessionHandler.getSession().getUsername();
      }
View Full Code Here

TOP

Related Classes of org.hornetq.core.protocol.core.impl.ChannelImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.