Return-Path: X-Original-To: apmail-river-dev-archive@www.apache.org Delivered-To: apmail-river-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C362FD902 for ; Fri, 12 Oct 2012 14:46:54 +0000 (UTC) Received: (qmail 11858 invoked by uid 500); 12 Oct 2012 14:46:54 -0000 Delivered-To: apmail-river-dev-archive@river.apache.org Received: (qmail 11812 invoked by uid 500); 12 Oct 2012 14:46:54 -0000 Mailing-List: contact dev-help@river.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@river.apache.org Delivered-To: mailing list dev@river.apache.org Received: (qmail 11668 invoked by uid 99); 12 Oct 2012 14:46:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 14:46:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,T_FRT_STOCK2 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [217.148.84.61] (HELO srv6.qcg.nl) (217.148.84.61) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 14:46:49 +0000 Received: from nyx-tunnel ([10.99.200.1] helo=nyx.qcg.nl) by srv6.qcg.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1TMgVO-0006qo-Gb for dev@river.apache.org; Fri, 12 Oct 2012 16:46:26 +0200 Received: from saturn.qcg.lan ([192.168.99.10]) by nyx.qcg.nl with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1TMgVN-0003C2-Se for dev@river.apache.org; Fri, 12 Oct 2012 16:46:26 +0200 Message-ID: <50782D41.60509@qcg.nl> Date: Fri, 12 Oct 2012 16:46:25 +0200 From: Simon IJskes - QCG Organization: Quality Consultancy Group b.v. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: dev@river.apache.org Subject: socketfactory References: <5077F98E.4090207@qcg.nl> <1350044398.2932.451.camel@cameron> <507811A8.2010503@qcg.nl> <1350051778.2932.477.camel@cameron> In-Reply-To: <1350051778.2932.477.camel@cameron> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 12-10-12 16:22, Greg Trasuk wrote: > Part of me also wonders if this isn't what the socket factory mechanism > (ServerSocket.setSocketFactory()' is supposed to handle. Although I must > confess I really don't like that mechanism, because it isn't specific > about the scope of the socket factory (classloader, application, what?). A socketfactory is serialized to the (client)Endpoint. More for specialized implementations of sockets. I use it to pass 'VpnSocketFactory'. -- QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl Quality Consultancy Group b.v., Leiderdorp, Kvk Den Haag: 28088397