Hi, 2005/5/9, Julien Vermillard <[EMAIL PROTECTED]>: > 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/
