Strange port disconnection ...

I'm confused ...

I was wrongly assuming that disconnect() would actually break a
connection ... But it seems it only breaks one side of the connection.

Am I missing something here ?

Sylvain

Strange port disconnection ...

On Friday 17 October 2008 17:33:09 Sylvain Joyeux wrote:
> I'm confused ...
>
> I was wrongly assuming that disconnect() would actually break a
> connection ... But it seems it only breaks one side of the connection.
>
> Am I missing something here ?

TaskContext::disconnect() removes all TC's ports from their connections.
ConnectionInterface::disconnect() removes all ports from the connection.

Note/Bug: TaskContext::disconnect() disconnects both data flow and peers. This
is really annoying when taskbrowsing. There should be a means to say which
(or both) to disconnect. like:

TaskContext::disconnectPorts()
TaskContext::disconnectPeers()

Peter