|Re: [ecf-dev] How to create a new channel
On 9/15/2010 12:16 PM, Lucas Augusto Scotta Merlo wrote:
Although this sounds fascinating, I don't quite understand what you are trying to accomplish and so it's not immediately clear to me what mechanism you need here...e.g. would you like to use the *existing* DocShare channel to send your own message (so that the delivery order of your message relative to other docshare messages) is consistent (because channels are sender ordered...i.e. the order that the messages on a given channel are received is the same as the order that they are sent. This is only true for a single channel...if messages are sent on different channels then the delivery order is not guaranteed.
So by modifying the code that uses the DocShare created channel you can insert your own message in the docshare/OT message stream...or you can create/use a separate channel, but the delivery order of your message on this second channel will not be related to the order of messages received on the DocShare channel. If you do want a second asynchronous channel, you can create a second channel by using the IChannelContainerAdapter.createChannel(...). The DocShare code does this to create/setup it's channel.
Also...it would be great if you would describe your thesis work a little further on this list...and if you wish it might be good for you to get involved with the current effort on the creation of a wave provider (which also uses operational transformation)...i.e. see .
Back to the top