Package net.tomp2p.connection

Examples of net.tomp2p.connection.Dispatcher


   *
   * @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

Related Classes of net.tomp2p.connection.Dispatcher

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.