directory-dev mailing list archives

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

2005/5/9, Julien Vermillard <>:
> 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

what we call human nature is actually human habit

View raw message