Re: [JXTA discuss] REPOST: [JXTA discuss] Another question on ERP

Bernard Traversat <[email protected]> Fri, 22 Jul 2005 14:22:17 -0700
Newsgroups gmane.comp.java.jxta.general
Message-ID <[email protected]>
Giorgos Georgakoudis wrote:
>  
> ----- Original Message -----
> *From:* Giorgos Georgakoudis <mailto:[email protected]>
> *To:* [email protected] <mailto:[email protected]>
> *Sent:* Friday, July 22, 2005 2:10 AM
> *Subject:* [JXTA discuss] Another question on ERP
> 
> In a question before I got the answer that the endpoint router selects a 
> transport with the priority: tcp, http, relay.What if we have more than 
> one endpoints in the same transport to choose? Let's say two endpoints 
> for tcp. Which would it choose?
The priority will go first to all tcp endpoints.


> I'm having a little trouble finding the 
> implementation details in the .java source files. If someone can help me 
> or point out some documentation I would be grateful.
You will find the logic in impl/src/net/jxta/impl/endpoint/router/EndpointRouter.java

hth,

B.

>  
> Best regards,
>  
> Giorgis Georgakoudis


-- 
--http://weblogs.java.net/blog/tra
"As Java implies platform independence, and XML implies language
independence, JXTA implies network independence."