You are viewing a plain text version of this content. The canonical link for it is here.
Posted to phoenix-dev@avalon.apache.org by Berin Loritsch <bl...@apache.org> on 2002/08/06 05:12:22 UTC

What is the preferred method of managing connections?

We currently have a ChannelManager, a ConnectionManager, and
a SocketManager.  How do these work together.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: What is the preferred method of managing connections?

Posted by Berin Loritsch <bl...@apache.org>.
Ok.

> -----Original Message-----
> From: Peter Royal [mailto:proyal@apache.org] 
> Sent: Tuesday, August 06, 2002 11:34 AM
> To: Avalon-Phoenix Developers List
> Subject: Re: What is the preferred method of managing connections?
> 
> 
> On Monday 05 August 2002 11:12 pm, Berin Loritsch wrote:
> > We currently have a ChannelManager, a ConnectionManager, and a 
> > SocketManager.  How do these work together.
> 
> ChannelManager is for the NIO stuff in 1.4 (thats all I know 
> on it. Kurt, the 
> donator, said he was gonna send over some more but I haven't 
> seen anything..)
> 
> SocketManager just supports the creation of sockets. You can 
> give it a type 
> (plain/ssl), and then a port and IP and it will create a 
> Socket/ServerSocket 
> for you.
> 
> ConnectionManager is used for ServerSocket's. You give it a 
> ServerSocket and a 
> ConnectionHandlerFactory, and whenever a connection is made 
> it passes the new 
> socket to the class that the ConnectionHandlerFactory creates. -pete
> 
> -- 
> peter royal -> proyal@apache.org
> 
> --
> To unsubscribe, e-mail:   
> <mailto:avalon-phoenix-dev-> unsubscribe@jakarta.apache.org>
> 
> For additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: What is the preferred method of managing connections?

Posted by Peter Royal <pr...@apache.org>.
On Monday 05 August 2002 11:12 pm, Berin Loritsch wrote:
> We currently have a ChannelManager, a ConnectionManager, and
> a SocketManager.  How do these work together.

ChannelManager is for the NIO stuff in 1.4 (thats all I know on it. Kurt, the 
donator, said he was gonna send over some more but I haven't seen anything..)

SocketManager just supports the creation of sockets. You can give it a type 
(plain/ssl), and then a port and IP and it will create a Socket/ServerSocket 
for you.

ConnectionManager is used for ServerSocket's. You give it a ServerSocket and a 
ConnectionHandlerFactory, and whenever a connection is made it passes the new 
socket to the class that the ConnectionHandlerFactory creates.
-pete

-- 
peter royal -> proyal@apache.org

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>