Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Clarification needed for datashare events...

Remy,

Remy Chi Jian Suen wrote:
Hi all,

The javadocs for the datashare channel events are a little lacking so
I'm looking for some clarifications.

--------

IChannelConnectEvent
IChannelDisconnectEvent

It seems these events are fired when the channel's parent IContainer
connects or disconnects. Is this correct?

Yes.

As an aside, the javadocs
for IChannelDisconnectEvent seems to be incomplete.

Ok.  Feel free to add documentation.


--------

IChannelContainerChannelActivatedEvent
IChannelContainerChannelDeactivatedEvent

These are fired to the channel container when a channel is
activated/deactivated. How is this exactly defined?

When the channel is created it receives an activated event before any other events. And when disposed it receives a deactivated event as the last event. Both events are delivered on the thread/queue that is associated with the channel.

Thanks,

Scott



Back to the top