The Fa�ade block is finished--although it needs testing, which I am not sure how to do at the moment. I will definitely be happy to hear any suggestions!
We need something like the Excalibur test framework, but that works with Phoenix level components. > -----Original Message----- > From: Berin Loritsch [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 21, 2002 4:38 PM > To: Avalon Applications Developers List > Subject: [InfoMover] Implementing the Fa�ade Block > > > I want to provide a fa�ade service that simplifies the > process of pulling information from connections. > Essentially, I am simplifying the process of getting a valid > Socket from a port we are listening on. > > Instead of directly using the ConnectionManager and the > SocketManager, I want to encapsulate all that within another > Block--a fa�ade so to speak. I want the fa�ade to allow me to > experiment with non-blocking sockets without forcing me into > a particular way of working with things. > > What I would like to have happen is something like this: > > -------------------------------------------------------------- > --------- > > package org.apache.infomover.connection; > > // skipping imports for clarity > > interface ConnectionManager > { > void registerListener( ConnectionDescriptor descriptor ); > } > > interface ConnectionListener > { > // I plan on having non-blocking stream wrappers eventually... > void connection( InputStream is, OutputStream os ); > } > > class ConnectionDescriptor > { > public int port; > ConnectionListener listener; > // anything else? > } > > -------------------------------------------------------------- > ---------- > > What is everyone's oppinion on this? > > > "They that give up essential liberty to obtain a little > temporary safety deserve neither liberty nor safety." > - Benjamin Franklin > > > -- > To unsubscribe, e-mail: > <mailto:avalon-apps-dev-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
