Hi,
As far as I know Mina, the only real difference between
Client and Server in Mina is the way they connect each other.
Only the client can initiate the connect (using a connector)
to the server (using an acceptor).
But once they are connected, everything is the same.
They can both send or receive, at least without considering
protocol of course (http client doesn't have to answear as a server, ;-)
So the difference came after from the filter and protocol you put on each side.

So you can consider your client as server, except of course the use of connector
instead of the acceptor.

Hope this helps you

Frederic
----- Original Message ----- 
From: "tdi" 


Hi,
   I find MINA a great piece of software, but need small design help. Im
having following architecture. Server in java to which client connects, but
the roles are somehow inversted, because my server is the point that
initiates all connections. The client 'just' connects. The thing i need it
the handling response from client. Ex. java server sends GET DATA and
receives 200 OK. Ineed to have it to pass to higher layers of softwware (to
handle errors and know what is going on on client). 
Is it possible to do in MINA? The examples and docs only show the example
where client writes mostly. Any suggestions ?
-- 
View this message in context: 
http://www.nabble.com/Handling-response-in-MINA-tf4967542s16868.html#a14229946
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.


Reply via email to