}
return peer;
}
public static ChannelServerConfiguration createDefaultChannelServerConfiguration() {
ChannelServerConfiguration channelServerConfiguration = new ChannelServerConfiguration();
channelServerConfiguration.bindings(new Bindings());
//these two values may be overwritten in the peer builder
channelServerConfiguration.ports(new Ports(Ports.DEFAULT_PORT, Ports.DEFAULT_PORT));
channelServerConfiguration.portsForwarding(new Ports(Ports.DEFAULT_PORT, Ports.DEFAULT_PORT));
channelServerConfiguration.behindFirewall(false);
channelServerConfiguration.pipelineFilter(new DefaultPipelineFilter());
channelServerConfiguration.signatureFactory(new DSASignatureFactory());
return channelServerConfiguration;
}