Examples of AbortCause


Examples of net.tomp2p.connection.PeerException.AbortCause

        // TB: ignore ZERO peer Id for the moment, but we should filter for the IP address
        if (remotePeer.peerId().isZero() || self().equals(remotePeer.peerId())) {
            return false;
        }
        final int classMember = classMember(remotePeer.peerId());
        AbortCause reason = peerException.abortCause();
        if (reason != AbortCause.TIMEOUT) {
            if(reason == AbortCause.PROBABLY_OFFLINE) {
                offlineMap.put(remotePeer.peerId(), remotePeer);
            } else if(reason == AbortCause.SHUTDOWN) {
                shutdownMap.put(remotePeer.peerId(), remotePeer);
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.