geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <l...@toolazydogs.com>
Subject Re: Management & Ports
Date Sun, 21 Aug 2005 20:06:36 GMT
Aaron Mulder wrote, On 8/21/2005 12:06 PM:

>	So I'm looking at the concept of network ports in the management 
>API.  Normally this seems pretty clear, but there are some "network 
>connectors" that don't actually have a port, such as the in-VM transport 
>for ActiveMQ.
>
>	It makes me wonder if our standard port properties should be
>Integers instead of ints (they're ints and the moment).  But if I look at,
>say, java.net.URI, they use an int and say that they'll return -1 if no
>port is defined.  That's not as obvious to me, but it works.  Any
>thoughts?
>
Staying with ints that return -1 makes sense to me.


Regards,
Alan




Mime
View raw message