directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [MINA] IOConnector.connect & Serial connection
Date Mon, 09 May 2005 11:10:15 GMT
Hi,

2005/5/9, Julien Vermillard <jvermillard@archean.fr>:
> I'm trying to make a first implementation of a SerialConnector
> 
> A serial connector connect to a given serial port (COM2 on windows,
> /dev/ttsS0 on Unix). In this case the second argument to the next method
> (localAddress) doesn't make much sense for me. Should I just ignore it, or
> throw some exception if it's not null  ?

You can simply ignore it.  But Session.getRemoteAddress() may not
return null.  You'll have to create a type like
AnonymousSerialPortAddress(). Please refer to AnonymousVmPipeAddress. 
We'll provide AnonymousSocketAddress() in 0.9

Thanks,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message