Re: Asynchronous Http Client donation

2007-08-22 Thread Trustin Lee
On 8/22/07, Mike Heath [EMAIL PROTECTED] wrote: Mark wrote: Just so we are straight on terminology, what I referred to as a MINA component is what I think you all are calling sub-projects. I will be sure to get this right from now on. These include: mina-example

How to implement the synchronized function call?

2007-08-22 Thread tiandike
I want to implement a interface like User getuser(String id); My ClientApp use getuser function to get user from ServerApp, the client use IoSession.write function to send message from client to Server, and Server's handler receive message and IoSession.write the user object, then the

Re: Asynchronous Http Client donation

2007-08-22 Thread Mark
sounds good to me. I will work this once Mike lets me know that he has everything checked in. On 8/22/07, Trustin Lee [EMAIL PROTECTED] wrote: On 8/22/07, Mike Heath [EMAIL PROTECTED] wrote: Mark wrote: Just so we are straight on terminology, what I referred to as a MINA component is

RE: Asynchronous Http Client donation

2007-08-22 Thread Irving, Dave
Also, on the asyncweb front - I'm all for this still coming across and getting integrated with this new client (sounds good). If enough people want it in as a sub-project (Which seems to be the case), then it sounds like a good idea. I really don't think much remains to be done for the

client doesn't stop

2007-08-22 Thread Pierre-Louis Bonicoli
Hi, I change *a lot* the client parts of the codec tutorial, i keep only two classes : GraphicalCharGenClient and ImageClient (see below). I don't understand why the thread called SocketConnector doesn't stop (and so the program doesn't terminate). Thanks in advance for your response !

[jira] Commented: (DIRMINA-353) Import AsyncWeb from Safehaus

2007-08-22 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521884 ] Mike Heath commented on DIRMINA-353: From the issue description, I believe we have completed step (1) Trustin

[jira] Commented: (DIRMINA-353) Import AsyncWeb from Safehaus

2007-08-22 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521959 ] Trustin Lee commented on DIRMINA-353: - Peter and I are Apache members. Apache members can fill the IP

Re: UDP datagrams write and receive

2007-08-22 Thread Trustin Lee
On 8/23/07, Adam Fisk [EMAIL PROTECTED] wrote: I'm wondering if anyone knows if there are guarantees that a each call to DatagramChannel.write(ByteBuffer src) *always* results in the sending of a single datagram. In all my tests this is the case, but I'm not sure if it's operating

Closing and flushing messages (DIRMINA-382)

2007-08-22 Thread Matthew Phillips
Hi all, this is related to the discussion quoted below which lead to DIRMINA-382. I'm basically still not sure how to cleanly close down a set of connections when the protocol involves sending a disconnect style message before closing the socket. After putting the disconnect messages

Re: Closing and flushing messages (DIRMINA-382)

2007-08-22 Thread Trustin Lee
On 8/23/07, Matthew Phillips [EMAIL PROTECTED] wrote: Hi all, this is related to the discussion quoted below which lead to DIRMINA-382. I'm basically still not sure how to cleanly close down a set of connections when the protocol involves sending a disconnect style message before closing

Re: client doesn't stop

2007-08-22 Thread Trustin Lee
On 8/23/07, Pierre-Louis Bonicoli [EMAIL PROTECTED] wrote: Hi, I change *a lot* the client parts of the codec tutorial, i keep only two classes : GraphicalCharGenClient and ImageClient (see below). I don't understand why the thread called SocketConnector doesn't stop (and so the program

Re: Asynchronous Http Client donation

2007-08-22 Thread Jeff Genender
Mike and Mark, I did my final commits. Feel free to grab the code. I will hold on further development until it hits the Mina repo. You can find it all here: http://svn.apache.org/repos/asf/geronimo/sandbox/AsyncHttpClient/ Thanks, Jeff Mike Heath wrote: Trustin Lee wrote: We might be

Re: UDP datagrams write and receive

2007-08-22 Thread Adam Fisk
OK great. I think I'll go with that assumption and just fix it if I ever see it break, in which case I'll report back. Many thanks. -Adam On 8/22/07, Trustin Lee [EMAIL PROTECTED] wrote: On 8/23/07, Adam Fisk [EMAIL PROTECTED] wrote: I'm wondering if anyone knows if there are guarantees