Package com.caucho.hemp.servlet

Examples of com.caucho.hemp.servlet.ServerLinkService


    {
      _in = new HmtpReader(context.getInputStream());
      _out = new HmtpWriter(context.getOutputStream());
      _linkStream = new HempMemoryQueue(_out, _broker.getBrokerStream(), 1);
     
      _linkService = new ServerLinkService(_linkStream, _broker, _authManager,
                                           _ipAddress, false);
      _brokerStream = _linkService.getBrokerStream();
    }
View Full Code Here


        _hmtpWriter.setJid("server-" + getConnectionId() + "-hmtp");

        _linkStream = new HempMemoryQueue(_hmtpWriter, brokerStream, 1);
        boolean isUnidir = code == HMUX_TO_UNIDIR_HMTP;

        ServerLinkService linkService
          = new HmuxLinkService(_linkStream,
                                _server.getAdminBroker(),
                                _server.getServerLinkManager(),
                                getRemoteAddr(),
                                isUnidir,
                                _server);

        _brokerStream = linkService.getBrokerStream();

        if (isLoggable)
          log.fine(dbgId() + (char) code + "-r switch-to-hmtp");

        return dispatchHmtp();
View Full Code Here

TOP

Related Classes of com.caucho.hemp.servlet.ServerLinkService

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.