Package net.yacy.peers

Examples of net.yacy.peers.EventChannel


        int messageMaxCount = Math.min(post.getInt("count", 100), 1000);

        channelIteration: for (final String channelName: channels) {
            // prevent that unauthorized access to this servlet get results from private data

            final EventChannel channel = EventChannel.valueOf(channelName);
            if (channel == null) continue channelIteration;

            if (!authorized && EventChannel.privateChannels.contains(channel)) continue channelIteration; // allow only public channels if not authorized

            if ("TEST".equals(channelName)) {
View Full Code Here

TOP

Related Classes of net.yacy.peers.EventChannel

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.