Examples of searchHandlerMap()


Examples of net.tomp2p.connection.Dispatcher.searchHandlerMap()

   * @param unreachablePeerId the unreachable peer
   * @return forwarder
   */
  private BaseRelayForwarderRPC extractRelayForwarder(final Message message) {
    final Dispatcher dispatcher = peer.connectionBean().dispatcher();
    final Map<Integer, DispatchHandler> ioHandlers = dispatcher.searchHandlerMap(peer.peerID(), message.recipient().peerId());
    for (DispatchHandler handler : ioHandlers.values()) {
      if (handler instanceof BaseRelayForwarderRPC) {
        return (BaseRelayForwarderRPC) handler;
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.