Bindings for Scala

2007-11-05 Thread Rich Dougherty
Hi I thought I'd let you know that I've written some (prototype) bindings to make MINA work nicely with http://lamp.epfl.ch/%7Ephaller/actors.html Scala's actors library. http://blog.richdougherty.com/2007/11/mina-bindings-for-scala.html http://blog.richdougherty.com/2007/11/mina-bindin

Re: Bindings for Scala

2007-11-06 Thread Rich Dougherty
Trustin Lee wrote: > > On 11/5/07, Niklas Therning <[EMAIL PROTECTED]> wrote: >> To get these bindings >> into trunk the best is if you could open a JIRA issue and attach a >> patch: https://issues.apache.org/jira/browse/DIRMINA. You will have to >> register before you can create an issue. > >

Re: IoFilter real life use scenario

2007-11-19 Thread Rich Dougherty
a.apache.org/report/trunk/apidocs/org/apache/mina/common/IoFilter.html Hope this helps. Rich -- Rich Dougherty http://www.richdougherty.com/

Re: A quick prototyping of ByteArray interface

2008-04-28 Thread Rich Dougherty
ement a ByteBuffer-backed ByteArray class and > implement some variable length buffer-of-arrays using it. WDYT? > > -- > Trustin Lee - Principal Software Engineer, JBoss, Red Hat > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ > > -- Rich Dougherty http://www.richdougherty.com/

Re: A quick prototyping of ByteArray interface

2008-04-29 Thread Rich Dougherty
gt; wrote: > Hi Rich, > > Good to see you back in the mailing list. It seems like you were > spending a fair amount of time with DIRMINA-489. :) > > Rich Dougherty wrote: > > > - However, in a composite implementation, where the actual byte storage > > is spread over

Streams and disposal of ByteBuffers [was Re: Redesigning IoBuffer...]

2008-04-30 Thread Rich Dougherty
erhaps it's not even a problem! Anyway, I thought I'd mention it, since it seemed like a possible benefit of a stream interface. (And this does not in any way detract from the current Iteratable/ByteBuffer proposals floating around either - streams may not be appropriate or necessary fo

Re: Streams and disposal of ByteBuffers [Was: Re: Redesigning IoBuffer...]

2008-05-15 Thread Rich Dougherty
Hi Trustin Not just discussion! Since my last email I've spent a bit of time playing around with a set of classes and interfaces that (hopefully) provide the sort of functionality that we talk about. They're not quite ready, but I think it might be worth sharing them, so you can consider them for

Re: Streams and disposal of ByteBuffers [Was: Re: Redesigning IoBuffer...]

2008-05-15 Thread Rich Dougherty
Patch is now added to ticket, and correctly licensed. Cheers Rich On Fri, May 16, 2008 at 8:40 AM, 이희승 (Trustin Lee) <[EMAIL PROTECTED]> wrote: > Oh sure. I know you spent great deal of time to resolve this issue. :) > > It would be great if y

Re: Feed back appreciated - Quick preview of buffer rewrite

2008-05-20 Thread Rich Dougherty
On Wed, May 21, 2008 at 9:36 AM, 이희승 (Trustin Lee) <[EMAIL PROTECTED]> wrote: > For now, slicing might copy or might not copy depending on the specified > position and length. If the requested slice belongs to one ByteBuffer, no > copy will be performed. Otherwise a new ByteBuffer will be create

Re: Feed back appreciated - Quick preview of buffer rewrite

2008-05-21 Thread Rich Dougherty
On Wed, May 21, 2008 at 9:36 AM, 이희승 (Trustin Lee) <[EMAIL PROTECTED]> wrote: > > On Tue, 20 May 2008 22:56:03 +0900, Daniel Wirtz <[EMAIL PROTECTED]> > wrote: > > And what about slicing contents from the buffer? Does it *copy* the >> contents to a new bytebuffer or is a composite buffer used in t

Re: Feed back appreciated - Quick preview of buffer rewrite

2008-05-21 Thread Rich Dougherty
Hi Daniel Although MINA probably *uses* buffers for short periods of time, wouldn't it be possible to make the underlying buffers "long-lived" by pooling them between usages? Of course, if we pooled buffers then we'd need to support some mechanism of returning the buffers to the pool (probably an

Re: JavaDoc added to org.apache.mina.queue

2008-05-22 Thread Rich Dougherty
ocumentation was copied from Rich's patch. Please review. > I will start implementation.. > > Cheers, > -- > Trustin Lee - Principal Software Engineer, JBoss, Red Hat > > -- Rich Dougherty http://www.richdougherty.com/

Re: svn commit: r659372 - /mina/branches/buffer/core/src/main/java/org/apache/mina/queue/DefaultByteBufferQueue.java

2008-05-22 Thread Rich Dougherty
I tend to use @inheritDoc, rather than just omitting javadoc, to show that I'm intentionally reusing the existing documentation. I prefer to also avoid manually copying existing documentation, since I think it's always best to try and avoid duplication where possible. In my opinion, duplication (o

Re: [New Committer] Welcome to Rich Dougherty

2008-06-20 Thread Rich Dougherty
On Sat, Jun 21, 2008 at 3:30 AM, Julien Vermillard <[EMAIL PROTECTED]> wrote: > Rich Dougherty was voted as a new Apache MINA committer with 7 +1 vote > and no abstain nor -1. > > He's well know here for the MINA Scala binding and his overall interest > for MINA internal

Re: Scala bindings

2009-04-10 Thread Rich Dougherty
so that MINA can hold off sending new events until it is ready. I haven't thought about a solution to this yet. (Since writing the Scala bindings, I've been mainly exploring other approaches to IO on Scala.) Cheers Rich On Sat, Apr 11, 2009 at 9:26 AM, Niklas Gustavsson wrote: >

Re: Scala bindings

2009-04-12 Thread Rich Dougherty
On Sun, Apr 12, 2009 at 8:11 PM, Niklas Gustavsson wrote: > On Sat, Apr 11, 2009 at 5:22 AM, Rich Dougherty wrote: >> That sounds great. The main issue that (IMO) needs resolving is flow >> control. At the moment, MINA events are converted to actor messages. It >> might be p

[jira] Created: (DIRMINA-498) Incorrect Javadoc for IoServiceListener

2007-12-18 Thread Rich Dougherty (JIRA)
Reporter: Rich Dougherty Priority: Trivial The Javadoc for IoServiceListener is currently incorrect. It currently has identical text to that of IoFutureListener. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the

[jira] Updated: (DIRMINA-498) Incorrect Javadoc for IoServiceListener

2007-12-18 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-498: --- Attachment: ioservicelistener-javadoc.patch A patch with some suggested wording

[jira] Created: (DIRMINA-499) Bindings for Scala

2007-12-18 Thread Rich Dougherty (JIRA)
Reporter: Rich Dougherty Priority: Minor Here's a contribution of bindings for the Scala language. Since announcing an initial version six weeks ago, I've taken some time to improve and extend them. They're now quite different from that first version. They still needs more

[jira] Updated: (DIRMINA-499) Bindings for Scala

2007-12-18 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-499: --- Attachment: bindings-for-scala.patch Contribution v1. > Bindings for Sc

[jira] Created: (DIRMINA-502) Typo in POM

2007-12-22 Thread Rich Dougherty (JIRA)
Typo in POM --- Key: DIRMINA-502 URL: https://issues.apache.org/jira/browse/DIRMINA-502 Project: MINA Issue Type: Bug Components: Core Affects Versions: 2.0.0-M1 Reporter: Rich Dougherty

[jira] Commented: (DIRMINA-499) Bindings for Scala

2008-01-04 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556143#action_12556143 ] Rich Dougherty commented on DIRMINA-499: Hi Trustin That seems fair en

[jira] Updated: (DIRMINA-499) Bindings for Scala

2008-02-02 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-499: --- Attachment: bindings-for-scala.2.patch Here's an updated patch that tracks changes i

[jira] Updated: (DIRMINA-499) Bindings for Scala

2008-03-11 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-499: --- Attachment: bindings-for-scala.3.patch Updated patch to latest revision on trunk (635930

[jira] Commented: (DIRMINA-514) Session closing problem on Mac OS X

2008-03-11 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577636#action_12577636 ] Rich Dougherty commented on DIRMINA-514: A "me too" for this bug

[jira] Commented: (DIRMINA-514) Session closing problem on Mac OS X

2008-03-29 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583299#action_12583299 ] Rich Dougherty commented on DIRMINA-514: > I see this problem as a hang

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-05-15 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: mina-composite-20080515.patch.gz Attaching file from this message (http

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-05-16 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: mina-composite-20080517.patch Updated patch: - improved tests and fixed bugs

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-05-17 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: (was: mina-composite-20080517.patch) > Composite IoBuf

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-05-17 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: mina-composite-20080517.patch (Updated patch - previous version was patch

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-05-20 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: mina-composite-20080521.patch This patch is against the code in the 'b

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-05-21 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: mina-composite-20080521-2.patch This patch is against the code in the 'b

[jira] Commented: (DIRMINA-489) Composite IoBuffer

2008-07-21 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615204#action_12615204 ] Rich Dougherty commented on DIRMINA-489: Hi Mark Sounds good. Yes, that patc

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-07-23 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: mina-composite-20080723-1.patch Patch against 'buffer' branch w

[jira] Updated: (DIRMINA-489) Composite IoBuffer

2008-07-23 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rich Dougherty updated DIRMINA-489: --- Attachment: mina-composite-20080723-2.patch Patch against 'buffer' branch with

[jira] Issue Comment Edited: (DIRMINA-489) Composite IoBuffer

2008-07-23 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615941#action_12615941 ] rich dougherty edited comment on DIRMINA-489 at 7/23/08 3:3

[jira] Issue Comment Edited: (DIRMINA-489) Composite IoBuffer

2008-07-23 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615942#action_12615942 ] rich dougherty edited comment on DIRMINA-489 at 7/23/08 3:3

[jira] Commented: (DIRMINA-489) Composite IoBuffer

2008-07-23 Thread Rich Dougherty (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615949#action_12615949 ] Rich Dougherty commented on DIRMINA-489: Hi Mark I've added a patch wh