Re: How to use IoHandler in ClientSide

2007-06-27 Thread peter royal
On Jun 26, 2007, at 12:46 AM, liquidchen wrote: So, is it true that for the current version, there are no easy way to implement a sync socket client?? I have the same problem, for server side, it's work greate, but for a sync client, it's seems helpless... its possible, but requires work. m

Re: How to use IoHandler in ClientSide

2007-06-26 Thread liquidchen
or). >> >> who can give me some advice? >> can IoHandler pass the response data through the client class which >> sent the request data? >> >> Thanks. >> > > > > -- > ..Cheers > Mark > > -- View this message in context: http://www.nabble.com/How-to-use-IoHandler-in-ClientSide-tf3949765.html#a11301287 Sent from the mina dev mailing list archive at Nabble.com.

Re: How to use IoHandler in ClientSide

2007-06-20 Thread 向秦贤
Hi, yes, I do html docs. I just use gmailer from firefox. No need accepting manually. I have done a jira item. Regards, 在07-6-20,Emmanuel Lecharny <[EMAIL PROTECTED]> 写道: Btw, are you sending mails as HTML docs ? because they are all moderated, and it's a little bit painfull, as we have to

Re: How to use IoHandler in ClientSide

2007-06-20 Thread 向秦贤
Hi, Try failed, gmail give me a fail notification.:) Regards, 在 07-6-20,向秦贤<[EMAIL PROTECTED]> 写道: Hi, OK, I try it with "plain text". :) Regards, 在07-6-20,Emmanuel Lecharny <[EMAIL PROTECTED]> 写道: > No, you don't get it : > > _all_ your mails are going through the moderator, because you are

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Emmanuel Lecharny
Btw, are you sending mails as HTML docs ? because they are all moderated, and it's a little bit painfull, as we have to accept them manually... Which mailer are you using ? Emmanuel On 6/20/07, 向秦贤 <[EMAIL PROTECTED]> wrote: Hi, There are some little java files. I zipped that files, and post

Re: How to use IoHandler in ClientSide

2007-06-20 Thread 向秦贤
Hi, gmail give us default encoding by mail from sender. and we can just another utf-8 encoding. seems to be good by creating a jira item. haha:) it's a thing examining patient and patent. Regards, 2007/6/20, Mark Webb <[EMAIL PROTECTED]>: yep. I was thinking gmail when I mentioned attachments

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Mark Webb
yep. I was thinking gmail when I mentioned attachments. I forgot this ML does not do attachments. Good catch Emmanuel! On 6/20/07, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: Ok, maybe the encoding scheme you are using (probably not US-ASCII) when including your java code in your mail made

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Emmanuel Lecharny
Ok, maybe the encoding scheme you are using (probably not US-ASCII) when including your java code in your mail made them considered as spams. Can you try to change the encoding for your mail with the pasted code to US-ASCII ? Attachements won't make their way to the ML, I'm afraid... If it doe

Fwd: How to use IoHandler in ClientSide

2007-06-20 Thread 向秦贤
Hi, There are some little java files. I zipped that files, and post with mail. But apache take it as spam. Regards, 2007/6/20, Mark Webb < [EMAIL PROTECTED]>: are you attaching the file? Is it small enough to paste inline? Otherwise maybe zip up the files and attach them. On 6/20/07, 向秦贤

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Mark Webb
are you attaching the file? Is it small enough to paste inline? Otherwise maybe zip up the files and attach them. On 6/20/07, 向秦贤 <[EMAIL PROTECTED]> wrote: Hi Lee, I want post a simple ftp example to the list, but gmail tell me apache not want spam. Is there some other ways? should not JIRA

Re: How to use IoHandler in ClientSide

2007-06-20 Thread 向秦贤
Hi Lee, I want post a simple ftp example to the list, but gmail tell me apache not want spam. Is there some other ways? should not JIRA, I think. Regards, -- 向秦贤

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Trustin Lee
Hi Brad, On 6/20/07, Brad Harvey <[EMAIL PROTECTED]> wrote: Hi there, What you can do is put messages into a queue in your IO handler and read them out in your client class. This is a bit of a pain, so I had a go at a synchronous API that provides a closer client side programming model to what

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Brad Harvey
Hi there, What you can do is put messages into a queue in your IO handler and read them out in your client class. This is a bit of a pain, so I had a go at a synchronous API that provides a closer client side programming model to what you're wanting to use - see the patch on https://issues.apache.

Re: How to use IoHandler in ClientSide

2007-06-19 Thread Mark Webb
Although you are not using UDP, you can check out my UDP tutorial to get insight as to how this would be done. Here is the link: http://mina.apache.org/udp-tutorial.html On 6/19/07, 李健 <[EMAIL PROTECTED]> wrote: Hi, I'm developing my application with MINA1.1.0, It's working fine in Server

How to use IoHandler in ClientSide

2007-06-19 Thread 李健
Hi, I'm developing my application with MINA1.1.0, It's working fine in ServerSide, But I'm confused by using IoHandler in ClientSide. I'll send R1 to the server and its response data is P1 and there will be R2-P2, R3-P3 etc. In the past time, I wrote code like this: byte[] re