Bidirectional communication

2008-06-18 Thread Sergey Mamitko
Hello MINA guru, I have a question about bidirectional communication. What I mean it is a connection which will support possibility to send and receive data through one channel. In other words it should be both client and server in one face. (I don't know if this interpretation is correct from

Some Class diagram for MINA

2008-06-18 Thread Emmanuel Lecharny
Hi guys, I have drawn three class diagrams of basic MINA structures (IoSession and IoService, divided in Acceptor and Connector) and put them on the wiki : http://cwiki.apache.org/confluence/display/MINA/Class+Diagrams It may help those who want to get a better picture of the inheritence

Re: Some Class diagram for MINA

2008-06-18 Thread Mark Webb
very nice. keep them coming. On Wed, Jun 18, 2008 at 10:08 AM, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Hi guys, I have drawn three class diagrams of basic MINA structures (IoSession and IoService, divided in Acceptor and Connector) and put them on the wiki :

Re: Some Class diagram for MINA

2008-06-18 Thread Alex Karasulu
On Wed, Jun 18, 2008 at 11:43 AM, Mark Webb [EMAIL PROTECTED] wrote: very nice. keep them coming. Mark and I had at one point discussed a documentation plan and looks like you beat us to the first stage. This is looking great. Thanks for taking the initiative. Alex On Wed, Jun 18, 2008

Re: Bidirectional communication

2008-06-18 Thread Alex Karasulu
On Wed, Jun 18, 2008 at 8:40 AM, Sergey Mamitko [EMAIL PROTECTED] wrote: Hello MINA guru, I have a question about bidirectional communication. What I mean it is a connection which will support possibility to send and receive data through one channel. In other words it should be both client

Re: [Asyncweb] Updates on recent changes

2008-06-18 Thread Alex Karasulu
Forwarding to MINA dev - hope you don't mind. And yes asyncweb has been moved to Apache under the Apache MINA Project. More inline ... On Wed, Jun 18, 2008 at 10:31 AM, harbhanu [EMAIL PROTECTED] wrote: Hi, I want to use Asyncweb for transport in CXF. Also managed to get one

Re: [Asyncweb] Updates on recent changes

2008-06-18 Thread Alex Karasulu
Including original sender in CC list. On Wed, Jun 18, 2008 at 12:12 PM, Alex Karasulu [EMAIL PROTECTED] wrote: Forwarding to MINA dev - hope you don't mind. And yes asyncweb has been moved to Apache under the Apache MINA Project. More inline ... On Wed, Jun 18, 2008 at 10:31 AM, harbhanu

Re: Some Class diagram for MINA

2008-06-18 Thread Mark Webb
Did you do this by hand or use a tool? On Wed, Jun 18, 2008 at 11:55 AM, Alex Karasulu [EMAIL PROTECTED] wrote: On Wed, Jun 18, 2008 at 11:43 AM, Mark Webb [EMAIL PROTECTED] wrote: very nice. keep them coming. Mark and I had at one point discussed a documentation plan and looks like

Re: Bidirectional communication

2008-06-18 Thread Sergey Mamitko
Ok I think next scenario will be much clear: I have servicemix as a JBI container, TCP binding component and terminal server (TS) TCP BC will have two endpoint for communication with ESB via TCPConsumerEndpoint and via TCPProviderEndpoint. TCP BC will have TCP MINA client for communication

Re: Some Class diagram for MINA

2008-06-18 Thread Emmanuel Lecharny
Poseidon For UML. Quite a nice tool. On Wed, Jun 18, 2008 at 6:39 PM, Mark Webb [EMAIL PROTECTED] wrote: Did you do this by hand or use a tool? On Wed, Jun 18, 2008 at 11:55 AM, Alex Karasulu [EMAIL PROTECTED] wrote: On Wed, Jun 18, 2008 at 11:43 AM, Mark Webb [EMAIL PROTECTED] wrote:

SSLFilter ClassCastException String

2008-06-18 Thread Vijay T
hi, i have configured my NioSocketAcceptor class with SSL based...im getting ClassCastException when writing message to client as String (ie.. iosession.write(str))... actually SSLFilter expects the message in IoBuffer... also my SSLFilter is on top, before ProtocolCodecFilter.. does it mean that

Re: SSLFilter ClassCastException String

2008-06-18 Thread Alex Karasulu
There are special messages triggered when the session is secured or unsecured (downgraded) via the SSLFilter. I.e. SSLFilter.SESSION_SECURED, and SSLFilter.SESSION_UNSECURED. Take a good close look at the documentation about using these message types. Also check and see what it is you're