Community
Participate
Working Groups
The ITransportChannel API consists only of "doer" methods that throw exceptions. In practice, implementations of these methods will throw if the channel is not open -- and #open will throw if the channel *is* open. For my purposes, I need to keep a singleton transport channel, so I need to know if it's open or not without parsing exceptions, hence this API. It seems generally saner to require an #isOpen() method in all cases.
Fixed on EDC HEAD.
*** cdt cvs genie on behalf of eswartz *** Bug 324806. Add API ITransportChannel#isOpen(). [*] ITransportChannel.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/edc/org.eclipse.cdt.debug.edc.tcf.extension/src/org/eclipse/cdt/debug/edc/tcf/extension/transport/ITransportChannel.java?root=Tools_Project&r1=1.1&r2=1.2 [*] TransportChannelTCP.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/edc/org.eclipse.cdt.debug.edc.tcf.extension/src/org/eclipse/cdt/debug/edc/tcf/extension/transport/TransportChannelTCP.java?root=Tools_Project&r1=1.1&r2=1.2