Re: Another Synchronous Client API

2007-10-30 Thread Trustin Lee
On 10/30/07, Lenney <[EMAIL PROTECTED]> wrote: > > http://www.nabble.com/file/p13481828/VPC.gif > http://www.nabble.com/file/p13481828/VPC.rar VPC.rar > > > And I am sorry that my English is not very good, and I don't know how to > describe, so I upload my code. Thank you for your contribution fir

[jira] Resolved: (DIRMINA-439) DemuxingProtocolEncoder and DemuxingProtocolDecoder by refactoring DemuxingProtocolCodecFactory

2007-10-30 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-439. - Resolution: Fixed Assignee: Trustin Lee The following classes have been added: * DemuxingP

Backward incompatible changes at org.apache.mina.filter.codec.demux in trunk.

2007-10-30 Thread Trustin Lee
Hi community, I've just made some backward incompatible changes at org.apache.mina.filter.codec.demux in trunk. The changes happened while fixing the following issue: https://issues.apache.org/jira/browse/DIRMINA-439 I believe the changes I've made will make the demuxing codec more flexible and

[jira] Created: (DIRMINA-464) Provide better way to throttle read buffer.

2007-10-30 Thread Trustin Lee (JIRA)
Provide better way to throttle read buffer. --- Key: DIRMINA-464 URL: https://issues.apache.org/jira/browse/DIRMINA-464 Project: MINA Issue Type: Task Components: Filter Reporter:

Re: a question about SessionBuffer

2007-10-30 Thread Trustin Lee
You are right. It's a known issue. Please refer to the following issue: https://issues.apache.org/jira/browse/DIRMINA-464 So you need to move the ProtocolCodecFilter behind ExecutorFilter, and then ReadThrottleFilterBuilder will start to work. HTH, Trustin On 10/29/07, tiandike <[EMAIL PROTEC

Re: Modbus Protocol

2007-10-30 Thread greenday
Hi all i am interested in modbus and apache mina. currently i write a modbus message center with JAMOD and MINA, it is really interesting that if there is a modbus protocol base on MINA. i can help in this field if you like. thanks Tan Mook Kuen wrote: > > Hi, > > I'm new to mina and I wou

Traffic Shaping Filter

2007-10-30 Thread Scott Peters
Hello All, Has anyone looked into implementing a traffic shaping filter? One that would limit bandwidth per connection to simulate different types of networks? Curoius, -Scott

Using Mina on a wireless device to provide voice/video streaming services

2007-10-30 Thread Paul Simon
Dear Mina developers, I'm evaluating using Mina for that purpose. Is there anyone already doing that? What's your experience? Thanks for your kind comments * http://RateMyBossCafe.com Leverage the Wisdom of Crowds **

MINA - Client

2007-10-30 Thread jeff . caldwell1
Hello MINA Developers, Great Product..Congratulations.. I'm needing to develop an OFX request handling server, and I want to use MINA, but, we have several clients who would use this server, that are written in C# or VB, is it possible to connect to a MINA server via C#, VB, .net? Thank

Re: MINA - Client

2007-10-30 Thread Trustin Lee
On 10/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello MINA Developers, > > Great Product..Congratulations.. > > I'm needing to develop an OFX request handling server, and I want to use > MINA, but, we have several clients who would use this server, that are > written in C# or VB,

Re: Modbus Protocol

2007-10-30 Thread Trustin Lee
Hi greenday, On 10/31/07, greenday <[EMAIL PROTECTED]> wrote: > > Hi all > > i am interested in modbus and apache mina. currently i write a modbus > message center with JAMOD and > MINA, it is really interesting that if there is a modbus protocol base on > MINA. > i can help in this field if you l

RE: TIMEOUT on messageReceieved

2007-10-30 Thread Kumaran Arul
Hi Trustin said: "You have to purge them manually" Does this mean that I need to call "executorService.shutdownNow();" In a finally {} block. Will this free up memory consumed by the task? thanks Arul Kumaran Senior Java/J2EE developer/designer Woolworths Limited P 02 8885 7528 E [EMAIL P

Client Connection Pool support

2007-10-30 Thread liquidchen
Hi, does mina Connector provide any function can do like sokcet connection pool?? Thanks... -- View this message in context: http://www.nabble.com/Client-Connection-Pool-support-tf4722391s16868.html#a13501459 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

[jira] Closed: (DIRMINA-454) Trivial denial of service in TextLineDecoder

2007-10-30 Thread Owen Jacobson (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Owen Jacobson closed DIRMINA-454. - I finally got a chance to test this out -- it works great! I had a look at the code, and if I unde

[jira] Commented: (DIRMINA-454) Trivial denial of service in TextLineDecoder

2007-10-30 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538979 ] Trustin Lee commented on DIRMINA-454: - Thanks for testing the fix and closing this issue. :) > Trivial denial

Re: Client Connection Pool support

2007-10-30 Thread Trustin Lee
On 10/31/07, liquidchen <[EMAIL PROTECTED]> wrote: > > Hi, does mina Connector provide any function can do like sokcet connection > pool?? Thanks... Not yet. It should be added in 2.0 while implementing the auto-reconnection feature, because it belongs to what meta-transports are supposed to do.

Re: TIMEOUT on messageReceieved

2007-10-30 Thread Trustin Lee
On 10/31/07, Kumaran Arul <[EMAIL PROTECTED]> wrote: > Hi > > Trustin said: > > "You have to purge them manually" > > Does this mean that I need to call "executorService.shutdownNow();" > In a finally {} block. Will this free up memory consumed by the task? No. There's a method called purge(): h

Re: Traffic Shaping Filter

2007-10-30 Thread Trustin Lee
On 10/31/07, Scott Peters <[EMAIL PROTECTED]> wrote: > Hello All, > > Has anyone looked into implementing a traffic shaping filter? One that > would limit bandwidth per connection to simulate different types of > networks? I am currently working on it. 2.0.0-M1 will provide traffic shaping featu

Re: How to implement the synchronized function call?

2007-10-30 Thread tiandike
If i use receive with timeout: Object[] res=new Object[num]; for(int i=0;i > Hi Tiandike, > > Another way of doing it is at > https://issues.apache.org/jira/browse/DIRMINA-375. I can't promise that > it's better :) > > Here's what your Client1 would become (hopefully there aren'

RE: TIMEOUT on messageReceieved

2007-10-30 Thread Kumaran Arul
Hi Trustin My sample code looks like ExecutorService executorService = Executors.newFixedThreadPool(1); Future future = executorService.submit(new Task(requestPayload, papSession)); String responsePayload = null; long messageTimeou

RE: TIMEOUT on messageReceieved

2007-10-30 Thread Kumaran Arul
Hi Ignore my last email. I can cast it back to the ThreadPoolExecutor and purge the task. Arul Kumaran Senior Java/J2EE developer/designer Woolworths Limited P 02 8885 7528 E [EMAIL PROTECTED] 1 Woolworths Way Bella Vista, NSW 2153 PO Box 8000 Baulkham Hills, NSW 2153 P PLEASE CONSIDER THE